WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. accucomm
    Member
    Posted 11 months 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?

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

  2. Ov3rfly
    Member
    Posted 11 months 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.
    • ...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.