Enhance theme with WordPress API functionality