Widget Logic
[resolved] A code for "not load" (2 posts)

  1. accucomm
    Posted 2 years ago #

    I have a case where it would be easier to tell widget logic where "not to load" than where to load. You see, I have a site with close to 100 pages (http://www.puertoricobygps.com) and there are only 3 or 4 where I would not like a certain widget to load.

    Is there any code I can use for that?


  2. Ov3rfly
    Posted 2 years ago #

    Try reading the documentation.

    The Basics

    Make good use of WP's own conditional tags. You can vary and combine code using:

    • ! (NOT) to reverse the logic, eg !is_home() is TRUE when this is NOT the home page.
    • ...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.