Hide empty terms

Forums › Forums › Search & Filter Pro › Hide empty terms

Viewing 5 posts – 11 through 15 (of 15 total)
  • Trevor
    #216023
    This reply has been marked as private.
    Anonymous
    #216036
    This reply has been marked as private.
    Trevor
    #216038
    This reply has been marked as private.
    Anonymous
    #216046
    This reply has been marked as private.
    Trevor
    #216072

    Great to speak with you Shahid. To summarize, rather than use the Post Type control, you are going to add a Post Meta to each of the two Post Types and use that to (selecting the correct term per post) filter the post types. Note, that, for new, and edited, posts, you can automate the term selection from functions.php with a function hooking in to the WordPress save_post() function, where you would find the post type of the post, and save the term data accordingly.

Viewing 5 posts – 11 through 15 (of 15 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.