Display top menu on single portfolio item pages
-
Hello all,
I need to display my theme’s top menu (header) on every single portfolio item page, above the navigation bar, just like it happens on the main page (header/footer are being correctly displayed there). I know this is usually achieved by calling
get_header()
, and this theme is no different. I also know that the navigation bar is being built inscripts.js
, but I don’t think it is correct to callget_header()
from there. How can I do it?Sidenotes:
1. Similarly, I needed to display the theme’s footer on single portfolio item pages, and I managed to do it by simply callingget_footer()
oncontent-sharing-portfolio.php
, but with the header, it seems it isn’t that simple.
2. I don’t know if this is important, but the theme I’m using/modifying is Frost.
- The topic ‘Display top menu on single portfolio item pages’ is closed to new replies.