Can I edit a widget to exclude pages? (2 posts)

  1. mondolizzie
    Posted 10 years ago #

    If I wanted to exclude pages and have a widgeted site, do I edit the main widget.php file? And do this:


    As the only code change? Or will editing the widget.php file mess me up?

    Thanks in advance.

  2. mondolizzie
    Posted 10 years ago #

    Nevermind. I did it and it worked. So the answer is yes, you can edit the Widget.php file to exclude pages (for instance if you want one gallery page to index the other gallery pages insead of all the gallery pages appearing individually in the sidebar in Pages).

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.