Same article, two different layouts depending on category
-
I have an issue my team can’t deal with and I want to know if there is a solution for the problem or if this is a lost cause.
Here is the situation.
I have a WP article which is in two Worpress Categories:
– Cat 1
– Cat 2I want this article to have two different page layout whether I view this article in Cat 1 or in Cat 2
The difference in the layout is for a elements in the right column.
When I’m Cat 1, I want the article to display with certain elements in the right column.
When I’m Cat 2, I want the same article to display other elements in the right column.In other words, depending in what category I am, I want the article to display different information in the right column.
My programmers tell me that this is not possible because of the nature of the permalink of the article that links it to a specific category and layout.
Is this true?
If so, is there a workaround, like have a condition in the right column based on navigation path for example.
If not, how do you do that?Thanks.
- The topic ‘Same article, two different layouts depending on category’ is closed to new replies.