• Resolved Ocala Website Designs

    (@ocala-website-designs)


    Would be a very cool plugin IF I could assign a page to be the “filter” page and just assign a shortcode where I want the filter to appear. As it is right now, can’t get it to work on my one theme and don’t feel like trying to figure it out with every other theme I use where this would be handy to have.

    Will you guys be adding this functionality to it in the near future?

    https://wordpress.org/plugins/beautiful-taxonomy-filters/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    If I understand you correctly you’d like to be able to set a specific page that everytime a visitor filters, they’ll be sent to that page with the filter they’ve chosen?

    The plugin makes use of WordPress core functionality for filtering taxonomies directly on a custom post type archive. So for it to work you’ll need to copy the provided function(s) into your archive.php or archive-customposttypeslug.php. Then it will filter the posts while remaining on that template file, making the need for a specific filter-page redundant.

    Since having a dedicated filter-page would require to create a solution where we don’t use WordPress Core functionality at all and also make the current permalink structure impossible I don’t think it will be added. At least not for now.

    I do however plan to make it easier for you to insert the filter in your archive page. Soon it will have a widget which you can insert in a sidebar or if you have a custom widgetarea displayed in your archive. I will also look into the possibility to have the filter automagically injected in a chosen location in archive.php just by some settings.

    Shortcode would be a great additional feature to have.

    Cheers
    Luke

    Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Luke,

    Shortcode is also on the roadmap. However given the nature of the plugin and that it’s mostly usable in an archive (which isn’t connected to a page/post to insert a shortcode in) it would still need to be manually placed in the template file. So all in all it would be pretty much the same as the current functions.

    Plugin Author Jonathandejong

    (@jonathandejong)

    Since this thread I’ve created widgets and an automagic function for putting the filter modules in a theme so I will mark this topic as resolved.

    A shortcode will not be a priority as of now since widgets can be used pretty much just as well and there’s more important features for now.

    Thanks for your feedback!

    I will checkout the widgets in the current version.

    Cheers
    Luke

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No Shortcode?’ is closed to new replies.