Support » Plugin: Beautiful taxonomy filters » Use the filter with Post Grid

  • Resolved Damiaan van Vliet

    (@damnsharp)


    Hello, is it possible to use the beautiful taxonomy filter with a plug-in like Post Grid or WP Show Posts? I tried it but no luck until now.
    Thanks!

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

    (@jonathandejong)

    Hi Damiaan,

    Unfortunately no that would not be possible. BTF relies on WordPress core functionality for filtering out posts in the archive specifically. So it is only for filtering in the archive, not in a custom query like from one of the mentioned plugins 🙂

    Best of luck with your project!

    @jonathandejong, thanks for quick reply 🙂
    Too bad but I understand. Can I use it with custom post types for example created with Custom Post Type UI.
    I tried it but untill now no success.

    Plugin Author Jonathandejong

    (@jonathandejong)

    You should be able to use it with CPT UI as long as the post you register is public and has archive.

    O.k. thanks @jonathandejong 🙂

    And can I use it in a page template @jonathandejong? I tried that and the page template is showing the custom post types but BTF is not showing…

    Plugin Author Jonathandejong

    (@jonathandejong)

    You can put the filter module in a page template _but_ you cannot have the filter return results in a page template. As I posted in my first response BTF relies on core functionality to filter on the archive.php template. So you can add the filter module but when a user clicks the filter button it’ll send them to the archive. To add the filter to a page you need to specify the post type slug in either the do_action or the shortcode if that’s what you use:
    [show_beautiful_filters post_type="yourcptslug"]
    do_action( 'show_beautiful_filters', 'yourcptslug' );

    Fantastic @jonathandejong that’s great! This functionality helps me a lot.
    Again thank you for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Use the filter with Post Grid’ is closed to new replies.