Hinding widgets on specific pages and display another one instead
-
Hello,
I want to use widget logic to display individual footer texts to specific pages. There should be a generic widget that displays on all pages that aren’t exluced and another one on those static pages that are.So far I only go three widgets, so the logic I use is:
!is_page(‘about’) or !is_page(‘shop’) for the generic one (it displays this widget on all pages)
is_page(‘about’) on the about page: http://beta.decider.de/about/ (it displays this widget together with the one above)
is_page(‘shop’) on the shop page: http://beta.decider.de/shop/ (it displays only the default widget)
What can I do to make these widgets work correctly? I already tried complete php-statements like
wp_reset_query();
return (is_page(‘shop’));
but it still won’t work.Thank you for your support.
- The topic ‘Hinding widgets on specific pages and display another one instead’ is closed to new replies.