Site logo

[Support request] Custom Post Type Archive Filter

Home Forums Support [Support request] Custom Post Type Archive Filter

Home Forums Support Custom Post Type Archive Filter

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2092149
    Manuel

    Hello
    I created a CPT through this page here (https://generatewp.com/post-type/) and included it through my child theme.
    Now I would like to add a filter option to the custom post type archive.
    On the archive page I would like to be able to filter by taxonomy, so that only the articles with the selected taxonomy are displayed.
    Can you help me here how I could implement this with GP?
    Thanks

    #2092152
    Leo
    Staff
    Customer Support

    Hi Manuel,

    There isn’t a filter option built-in in GP so it will require a custom solution or a plugin.

    Perhaps this one would work?
    https://wordpress.org/plugins/category-ajax-filter/

    #2092165
    Manuel

    Hi Leo,

    I am not sure if a plugin is working since i would like to use the layout for the post types generated by GP Elements Block – Content Template.
    Do you have any hints how to achive this? Do i need to copy the archive.php page?

    #2092173
    Leo
    Staff
    Customer Support

    I feel like it should work. The content template simply changes the appearance of the post loop and does not change the structure behind it.

    Maybe give it a shot first?

    #2092201
    Manuel

    I took a look at the plugin, but it actually uses its own post type layout :/

    #2092228
    Leo
    Staff
    Customer Support

    Ahh that’s unfortunate.

    Things like filters would require custom javascript so it’s quite complicated.

    Maybe try looking for another plugin?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.