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

    (@jonathandejong)

    Hi,

    What is the slug of your CPT?
    The filtering has to be on the CPT archive page to work right out of the box. If not then you’ll have to supply the function with the slug of your CPT like this
    <?php echo show_beautiful_filters('myposttype'); ?>
    But please note that when you do a filtering it will send you to the archive page.

    It will also only work with the standard WP loop (you can modify your own wp_queries if you like to also use the filtered values using the pre_get_posts filter).

    Make sure you follow the instructions on the plugins settings page (right at the bottom).

    Thread Starter marky7033

    (@marky7033)

    Hi,

    When it says myposttype is that for taxonomies too?

    Plugin Author Jonathandejong

    (@jonathandejong)

    No since the function will use the posttype to figure out which taxonomies to show.

    Thread Starter marky7033

    (@marky7033)

    I’ve been trying to figure out how to change https://www.modifiedperformanceparts.com/%portfolio_page%/

    It’s not going to the right archive page. Would you know what I’m doing wrong?

    Plugin Author Jonathandejong

    (@jonathandejong)

    The archive of your CPT will be https://www.modifiedperformanceparts.com/posttypeslug
    This is where the filtering will happen and it usually uses the archive.php template in your theme (if you have a taxonomy.php template as well this might be used after a filtering has been made).

    Thread Starter marky7033

    (@marky7033)

    Gotcha, I finally got it working. Thanks!

    Plugin Author Jonathandejong

    (@jonathandejong)

    Great! Marking this as resolved. If you like to leave a review that’s much appreciated!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems with displaying the results’ is closed to new replies.