WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic by Path
[resolved] Filter by Title (3 posts)

  1. LluisAzm2
    Member
    Posted 1 year ago #

    Hello! Thanks for your work on the plugin.

    I use a Video Theme and it doesn't use categories for videos, it uses videocategories, the url are myweb/videoscategory/nameofcategory/ form.

    I need to choose in which videocategories appears each widget, I have thought filter by page's title will be a good option.

    Is it possible? Thanks!

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

  2. Mohan Chevuri
    Member
    Plugin Author

    Posted 1 year ago #

    It looks like your URLs are unique for each videocategory. So you can still use URL patterns to show/hide widgets.

    If for example the URLs are:

    http://www.myweb.com/videoscategory/funny/
    http://www.myweb.com/videoscategory/drama/
    http://www.myweb.com/videoscategory/tech/

    And you want search widget to show only on funny and drama, you can put the below lines in the widget logic box.

    videoscategory/funny/
    videoscategory/drama/

    Widget Logic by Path is meant to filter widgets by URLs, but it definitely is possible to write a small plugin to filter widgets by title.

  3. LluisAzm2
    Member
    Posted 1 year ago #

    Thankyou!! It works perfectly!!

    Thanks for all your work and dedication!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic