Forums Forums Search & Filter Pro No results filter not working

Tagged: 

Viewing 5 posts - 11 through 15 (of 15 total)
  • Trevor
    #266135

    Tags and Categories and all actually taxonomies, so the principle applies to all.

    Anonymous
    #266154

    did you try the filter on my page, or check them in admin?
    so, I started again from new

    1) create category aciform (parent) sub (child)
    2) add 3 posts, give them the category aciform & sub
    3) add new search form similar the video with the Tag UI stuff
    -try it in the frontend to select: select one tag in the select field; page reload and still all posts are display. In the video it works but not correctly. I think here is the issue

    4) I made the next steps from the video: my categories (aciform and sub) counts 3, in the video they count 1 why? I set the sub on parent none

    5) taxonomy switch: switch the first tags for land, if I will switch the second tags for bundesland I notice the other tags from the first switch are not available anymore in the update terms popup. So the tags are not available in the post->tag overview

    6) Update Form, Rebuild Cache and try it

    Not working. Page reloaded, select field not saving option, value=“”, all publish posts are display

    Is it possible that my theme function has an error with the taxonomy stuff? I use my own custom theme

    add_theme_support( 'post-thumbnails' );
    
    //covering homepage title
    add_filter( 'wp_title', 'baw_hack_wp_title_for_home' );
    function baw_hack_wp_title_for_home( $title )
    {
      if( empty( $title ) && ( is_home() || is_front_page() ) ) {
        return __( 'Home');
      }
      return $title;
    }
    
    // add class to next, prev post link
    add_filter('next_posts_link_attributes', 'posts_link_attributes_1');
    add_filter('previous_posts_link_attributes', 'posts_link_attributes_2');
    
    function posts_link_attributes_1() {
        return 'class="bg-secondary my-6 text-white font-bold px-4 py-4 no-underline hover:bg-secondary-light"';
    }
    function posts_link_attributes_2() {
        return 'class="bg-secondary my-6 text-white font-bold px-4 py-4 no-underline hover:bg-secondary-light"';
    }
    
    // generate only default image and unset thumbnails
    function add_image_insert_override($sizes){
        unset( $sizes['thumbnail']);
        unset( $sizes['medium_large']);
        unset( $sizes['medium']);
        unset( $sizes['large']);
        unset( $sizes['full']);
        return $sizes;
    }
    add_filter('intermediate_image_sizes_advanced', 'add_image_insert_override' );

    Can you please take a lookout my settings and the Gitlab Repo? I have no idea what it’s going wrong

    many thanks for your patience

    Trevor
    #266211
    Anonymous
    #266244

    Hi Trevor,

    nice, it works perfectly.

    many thanks

    Trevor
    #266246

    Thanks for letting me know. I will close this thread for now.

Viewing 5 posts - 11 through 15 (of 15 total)