Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using add_filter('single_template',...) to call a unique template file under a certain condition.

The problem we're running into is that no matter what I do I can't use wp_nav_menu() successfully in the template file we are calling.

Does anyone have any experience with this situation?

share|improve this question
4  
Please post all relevant code, including your filter callback, and your custom template code. –  Chip Bennett Oct 15 '13 at 16:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.