Support » Plugin: WordPress Page Tree » Show only on certain pages

  • The widget is working great in the sidebar. However I only want to show it on a certain page and its children.

    I have a plugin “Display widgets” that allows you to control this behavior but it only works for widgets written in the after-2.8 format 🙁

    So I’d like to so something custom like somewhere in the widget code put something like “if(is_page(10)) show widget”. But I can’t seem to get the page id from within the widget.

    Any idea how to accomplish this?

    Thanks so much!

    https://wordpress.org/plugins/page-tree/

  • The topic ‘Show only on certain pages’ is closed to new replies.