WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
widget logic all pages except (2 posts)

  1. rolfing
    Member
    Posted 11 months ago #

    Hello! I'm trying to have a widget logic on every pages except on his own blog post.

    on my home page on the left side i have 3 widgets and i want each of them to be on all pages except on their own blog post.

    my site is http://www.les-douleurs.com

    the first widget on the left there is a picture of a woman with back pain and when you click on it it brings you to the blog post (article) but if you look on the left the widget is still there. I do not want it at that page so i did write the widget code for exception that is

    !is_page('maldedos')

    if i m not mistaken but it dos not work. Can someone help me please?

    thanks!

    Michel

    http://wordpress.org/plugins/widget-logic/

  2. rolfing
    Member
    Posted 11 months ago #

    Found it!

    the code was

    !is_single('maldedos')

    sorry!

Reply

You must log in to post.

About this Plugin

About this Topic