Headers for custom post types
-
Hello are there any hooks, actions, and or filters we could use to assign different headers to custom post types we have in our website like we can do for products and posts from the Woodmart settings?
Please let me know.
Btw, I see that this data is saved in the database as a post meta value.
Hello,
Woodmart theme provides the option to create different headers for different pages: https://xtemos.com/docs-topic/how-to-set-different-header-for-specific-page/
You can add a custom header for a separate page and post and configure it.
https://xtemos.com/docs-topic/options-for-pages/
If you have any questions, feel free to contact us.
Best Regards,
Hello, thanks for your quick response.
I do know about that, but is there an option to set different headers for custom post types?
Ok, I think that could be possible with the presets, right?
I see there is a condition where you could choose the post type and then change the general header on preset settings.
Can you please confirm?
Hello,
Yes, it is also possible with theme presets. I have tested this on our test site and it is working.
See screenshots for better understanding and configure it.
https://ibb.co/Kxz1y3Cp
https://ibb.co/zVPh1jNz
Best Regards,
Great, thanks so much for confirming!
Hello,
You’re very welcome! I’m glad I could help. If you need anything else, feel free to reach out!
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards,
The topic ‘Headers for custom post types’ is closed to new replies.