WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
How to display on several specific pages? (2 posts)

  1. jamesgill
    Member
    Posted 10 months ago #

    I'd like the widget to display on five different specific pages. I tried is_array, but that didn't work. How do I do it?

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

  2. alanft
    Member
    Plugin Author

    Posted 10 months ago #

    see the issue with is_page on the FAQ first
    http://wordpress.org/plugins/widget-logic/faq/

    Then, given all that, the is_page codex page does list the sort of example involving array (not is_array) that would do what you want
    http://codex.wordpress.org/Function_Reference/is_page#Cannot_Be_Used_Inside_The_Loop

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.