Home Forums Air WordPress Theme live filter custom post type

This topic contains 3 replies, has 2 voices, and was last updated by  BWSM 6 months, 4 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14816

    alice
    Participant

    Hi,
    is there a way to create an archive page with live filter for a custom post types instead of posts?
    With a simple query I create the archive, but I’m not abel to make the filter work.

    Thank you!

    • This topic was modified 6 months, 4 weeks ago by  BWSM.
    #14822

    BWSM
    Keymaster

    Hi,

    I don’t understand your requirements totally. Could you leave your archive page url?

    Regards!
    Bwsm – uiueux.comTwitterFacebook

    #14824

    alice
    Participant

    Hi,
    this is the archive of the custom post type
    http://marigraftest.it/marigraf/portfolio-a/

    The filter is copy from content-filter.php, and, obviously doesn’t work.
    I tried to change some setting but I can’t figure it out.

    I hope I’ve been clearer
    Thank you!

    #14833

    BWSM
    Keymaster

    It seems you create a new template. The HTML tree should be same as at least:

    <div class="content_wrap_outer fullwrap-layout">
    <div id="content_wrap" class="">
    <div class="container-masonry  ux-portfolio-spacing-40 ux-portfolio-spacing-20-mobile ux-portfolio-2col ux-portfolio-1col-mobile container ux-portfolio-full-filled-mobile ux-has-filter filter-left" data-col="2" data-col-mobile="1" data-spacer="40" data-spacer-mobile="20"  data-template="intro-above">
     <div class="clearfix filters ">
      <ul class="filters-ul container">
       <li class="filters-li active"></li>	...
    </ul>
                                        
    </div><!--End filter-->
    <div class="masonry-list     grid-mask-boxed-left  " >
        <section class="grid-item ...
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.