I installed Widget Logic to build some contect aware sidebar in combination with the ‘recent posts’ widget of the theme. Problem is there is only one sidebar available for the pages.
I have 3 subjects (read categories) and there 3 pages where I want to show the corresponding posts via a ‘recent post’ widget. Depending on the page, I want to show the related posts.
Put 3 ‘recent post’ widgets in that single sidebar and set them up with differentl coding in the widget logic :
is_page(‘Consultancy’) + ‘Fiscal’ + ‘Accounting’ for the 3 pages
which works fine.
in_category(65) + 64 + 63 for the 3 different categories
But this last code doesn’t work, not in combination with the above code (&&), nor if I put only this code in widget logic. Even tried the slug name, the categorie as text and as number.
So any ideas why this does not work? Any solutions / advice to make it working?
- The topic ‘Widget logic partly not working’ is closed to new replies.