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 blog I need help with is: (visible only to logged in users)
-
Hi there, it looks like your above site m-edu.sk is using the open source WordPress software. These forums you’ve posted to assist site owners hosted on WordPress.com, the hosting provider.
For help or questions with your WordPress site, head over to https://wordpress.org/support/ where you’ll find documentation and users who have more experience with the software you are using. If you don’t have a username on the ORG forums you can register one on the top of that page.
You can read more about the differences between WordPress.com, where we are, and WordPress at https://wordpress.org/support/article/wordpress-vs-wordpress-com/
- The topic ‘Multiple category names in header’ is closed to new replies.