Display different header on specific pages or article tag ?

Posted in: Newspaper
Post count: 12

Hi team,
Is it a way to display different header on specific page or article ?

Example : On page id 3 and all articles wich have the tag “classic”, I want to display a different header for that (new logo with a link on mysite.com/classic + a new menu).

If you know a way using a plugin compatible with your theme, or a code to do that, it will be very usefull.
I tried to inspect your code, but I don’t understand how the header.php of Newspaper theme works.

Regards,

Post count: 20688

Hi,

Unfortunately the theme has no options to have different headers based on page id’s. If you want to implement this functionality in the theme you will have to modify the theme files. Here are some topics related to this – https://forum.tagdiv.com/topic/conditional-logic-for-menu/https://forum.tagdiv.com/topic/different-headers-on-pages/ but you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry.
There could be some plugins out there with these capabilities, but I can not make any recommendations, you will have to search and test some of them.

Thanks

Post count: 12

Ok,
I’ll read there thread.

I already try some plugins : Menu Swapper, WP Display Header, Page Specific Menu Items

But they doesn’t works with the theme.
You don’t have try any plugin to do that with the theme ?

Regards,

Post count: 20688

Hi,

Unfortunately no such plugins were tested with the theme, so I can not make any recommendations, sorry. You could search for other plugins that maybe will work, but keep in mind that not all plugins are fully compatible with premium themes and some could require additional configuration to work properly.

Thank you for understanding!

Post count: 12

Hi Simion,
Ok I understand.

The two topics you sent are a little bit different of my problem.
I would like to change the header : logo + change the menu (not just the design, the links) in a conditional logic like (specific page or tag).

Regards,

Post count: 20688

Hi,

Those were only suggestion to get you started in what you want to achieve, by following other topics somewhat related to this. I believe the same steps need to be followed, you need to register a new menu here – https://www.screencast.com/t/cVyHvGJM and condition it here – https://www.screencast.com/t/3BqrqarTXdFE and the logo here – https://www.screencast.com/t/QP61fMDo9Tq It should be mentioned that the theme was not designed to have the possibility to easily switch menus based on conditioning. Please notice that if you want to achieve this it requires coding knowledge, so if you are not aware of the steps required to implement this custom functionality, you should consider hiring a freelancer/developer to help you, because time does not allow us to provide custom work at the moment.

Thank you for understanding!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.