WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
Collection of working examples (4 posts)

  1. thomasjojo
    Member
    Posted 7 months ago #

    Im looking for more examples of logic scripts,

    What Im trying to do is to have a widget on a Parent Page, and ALL the subpages below.

    THis example does not work:

    is_page('pagename') || ($post->post_parent=="the_page_ID#")

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

  2. Ov3rfly
    Member
    Posted 7 months ago #

  3. thomasjojo
    Member
    Posted 7 months ago #

    Sure, I know.

    I hoped for an extended and better collection ..

  4. Ov3rfly
    Member
    Posted 7 months ago #

    A working version of your parent/subpage question can be found in these examples...

Reply

You must log in to post.

About this Plugin

About this Topic