Not working with some widgets?
-
Hi there,
I have been using your plugin for years, on many different sites, and this is the first time I have had an issue, so hoping we can sort it out.
I use Headway theme.
I had the plugin set up to show different ad units for my 3 main site categories, and a 4th to show on all other pages/posts.
This actually works fine for the ad unit in the header, as this is actually custom code added via the theme functions file. But the exact same logic statements do not work when used in widgets in the theme side bar (so for elements created with the Headway visual editor)
The is mobile condition does work though, as does the is a certain single post (using post number) just not the conditions to show if is/ isn’t a category.
I have had to put up just the one widget at the moment (because it was showing all of them), which is showing on all posts – the conditions/logic statement used (that works perfectly in the header widget) is
is_category(4638) || (is_single() && in_category(4638))
Here is a link to a post NOT in that category that it is showing on – https://dropdeadgorgeousdaily.com/2013/09/off-the-wall-statement-mirrors-to-make-you-look-good/
Any ideas what could be causing this?
thanks!
- The topic ‘Not working with some widgets?’ is closed to new replies.