My header image and top menu are not showing up on my event and category subpages. Is the correct path for the wp_head not being used? Help! http://northpalmbeach.localmusicfinders.com/category/jupiter/

This shows the correct purple header graphic and top menu: http://northpalmbeach.localmusicfinders.com/calendar/

  • 1
    We can't tell anything about the code that actually creates that header by looking at the website. Please post the code of the header.php and the taxonomy or custom post type templates. – Jen Nov 16 '16 at 15:59
  • I don't have a header.php file in my theme folder -- not sure where it is pulling the header image and menu from. It works on all pages except those in the lmf.com/works/doesnotwork/ – jmalone Nov 16 '16 at 17:54

My guess is your Head navigation is not called in header.php

check you file page.php and see the lines following <?php get_header(); ?>

if the lines below introduce header navigation either move them into header or copy them into same location in your single.php file

  • or check the template file you are using on calendar page – Artem Ankudovich Nov 16 '16 at 16:04
  • This is my code in my page.php file: <?php wp_head(); ?> </head> <?php do_action('theme_after_head'); ?> <?php ob_start(); // body start ?> – jmalone Nov 16 '16 at 17:49
  • I don't have a header.php file in my theme folder – jmalone Nov 16 '16 at 17:50
  • single.php has the same code above as in page.php file – jmalone Nov 16 '16 at 17:52
  • @jmalone, search for 'theme_after_head' in your theme files, specifically something that looks like add_action('theme_after_head', . Once you've located it, you need to look for a function named whatever the second argument after 'theme_after_head' is. That will lead you to the theme header. You'll need to keep following the clues like that until you track down the logic that displays that header. – Jen Nov 16 '16 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.