Home › Forums › WoodMart support forum › Current Category Header
Current Category Header
- This topic has 8 replies, 2 voices, and was last updated 4 years, 7 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
October 21, 2019 at 7:50 pm #151498
ignitionstudioParticipantI am trying to change the page Title based on current category for specific posts. When in the post category for News, I’d like the overall header title to be “News” and not “Blog”. And when in “Testimonials” I want it to read “Testimonials” not “Blog” or “News” which is what happens when I title the blog page News at the ID level. I am looking in the theme folder at the inc > functions.php and seeing where the pageID is being called for home, post, shop, or portfolio, but I would really like to add the “if in $category_id = get_cat_ID(‘Category Name’); function somehow as an option. Please help. Thanks for your time
October 22, 2019 at 9:08 am #151587
Aizaz Imtiaz AwanKeymasterHello,
Whenever you are in the specific category page the title of that page will be the category name you can check the following examples:
https://jmp.sh/uxyHbg0
https://jmp.sh/AfO1TJU
https://jmp.sh/GIVuCTIBut you want to change the title of the specific posts which shown “Blog” currently but you need some specific categories names according to selected categories for those posts.
With the theme option it is not possible. It requires customization and this is beyond our limitations and support policy.
Best Regards.
May 20, 2020 at 5:36 pm #196478
ignitionstudioParticipantIs it possible to replace the current category title with a logo? When in the shop and on a category landing page, where the category title loads along with the back button, I’d like to edit that to grab a logo for the category. Because some categories are basically brand related and have registered logos.
May 20, 2020 at 5:38 pm #196479
ignitionstudioParticipantI have a couple of questions regarding page headers. This previous question as well as how do I get the current category header to carry forward and appear on the single product page as well. You help is greatly appreciated!!
May 21, 2020 at 6:06 am #196574
Aizaz Imtiaz AwanKeymasterHello,
Unfortunately, there is no option in theme settings that you can replace the single category title with a logo.
It requires customization and this is beyond our limitations and support policy.
You cannot use the same categories header for the product page because there is no such option in theme settings available.
If you want to add a separate header for the product page then you can configure from Theme Settings >> Product page.
Screenshot for Clarification: https://ibb.co/vVBPQBD
Best Regards.
May 21, 2020 at 2:49 pm #196795
ignitionstudioParticipantOk. Thanks. However, the screenshot you provided is something I am already aware of. That is not the setting I am looking for. I am wondering what part of the template code form the Category Page to paste in the Single Product Page so that the header image of the category displays within the products as well.
May 21, 2020 at 3:32 pm #196814
ignitionstudioParticipantHere is an example. On Powered Folding I want to be able to click on the SBS and still have Powered Folding category header show. Image one is the category landing page with category header. Image two is the single product page as is. I want to have the category header with featured image background as the header to appear as in Image three.
Attachments:
You must be logged in to view attached files.May 21, 2020 at 3:33 pm #196818
ignitionstudioParticipantI assume this has to be related to a filter within the theme saying if “is_singular” doing something that I wish to override for the shop and keep category headers on top of the single products.
May 22, 2020 at 5:34 am #196882
Aizaz Imtiaz AwanKeymasterHello,
I saw the screenshots you attached. Unfortunately, there is no option in theme settings to display the categories header to the single product page.
Sorry you could not get your desired results.
It requires customization and this is beyond our limitations and support policy.
Best Regards.
-
AuthorPosts
Tagged: current category, Page title, pageID, post category
- You must be logged in to create new topics. Login / Register