Article with more categories and Custom Widget Areas
I have three categories for articles:
– Football News
– Basketball News
– Tennis News
In my home page in a menu in the wordpress sidebar I have three links to this three categories. If I click on the “Tennis News” WordPress views in a new window all news of this category.
With the plugin WooSidebars (unbelievable”) I created three different Widget Areas that replace the standard sidebar of my theme, with customization in the “Taxonomy Terms”.
For example, the widget area “Link Tennis” is associated with the category “Tennis News” and “All posts in Tennis News”. In this way, when in home page I click on “Tennis News” I view all news for that category and, in the custom sidebar, my personalized menu “Link Tennis” which contains links to official site of international tournament.
The same Widget Area is also displayed when I click on an article of News Tennis. For example, I click on “Roland Garros Results” I read article and view in sidebar area my custom “Link Tennis”.
This is what I wanted and everything works beautifully.
Instead, I have problems when I create an article associated with multiple categories. For example, I create an article “Sport in the USA” and connect this to the three categories “Tennis News”, “Football News” and “Basket News”.
What happens. When I click on the link from the home page “News Tennis” wordpress shows me all the items associated with that category, including “Sports in America”. However, if I click on the article to open the page, WordPress shows me the item but instead of the right sidebar custom, I show the sidebar associated with “Football News”. In theory there isn’t a mistake, since the article is also associated with that category, but I was coming from the page of the “Tennis News”. How can I force the sidebar to display custom “Link Tennis” sidebar?
Thanks for your time and sorry for my English…
WordPress version 3.9.1
WooSidebars version 1.3.1
- The topic ‘Article with more categories and Custom Widget Areas’ is closed to new replies.