Multiple category names in header
-
Hello guys, I have a website and I created a post. Each post has multiple categories so WordPress automatically set one of them to Primary. I’m displaying category (parent category) title on each post in header section. But the problem is that we want to send a newsletter and this newsletter should contain link to this post but each link should display different category title in header. Here is example.
My post is assigned to Category A, Category B and CATEGORY C. I can access to this post using multiple categories but the URL is always redirected to Primary category so even the Category title is changed do primary. And I need following:
I dont want to set primary category to post, I just want to assign this post to 3 categories and access to this post using URL and display in header section category title according to which category I clicked through to it. If I clicked through the url /categoryA/myHouse then there will be CATEGORY A if I send to my client link /categoryB/myhouse then there will be in header section CATEGORY B.
It is possible ? thank you guys.The page I need help with: [log in to see the link]
- The topic ‘Multiple category names in header’ is closed to new replies.