Forums Forums Search & Filter Pro Group by Taxonomy

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #187830

    Hi-

    Great product. Saved my life.

    I implemented it on a Real Estate Site. I included several Taxonomies to include, however, I need to group them by each Taxonomy that I have included.

    Can you recommend how to do this with your product. I need to group For Sale, In Escrow, etc.

    https://www.carswellandpartners.com/listing-portfolio-search/

    Anonymous
    #187831

    Oh Forgot. Also want to be able to have a specific order to the Grouping. For Sale, In Escrow, For Lease, Sold, Leased are the categories.

    Thanks!

    Trevor
    #187848

    In the form, or in the results?

    Anonymous
    #187889

    Results

    Trevor
    #187926

    It would be necessary to sort the results first. However, you want something other than alphabetical or numerical, so first you must create a (maybe calculated) field that looks at the categories and assigns a number as the sort order, using javascript hooking into the WordPress save_post() function (and you would have to edit existing posts to add the data. A primary sort would be based on this in our ‘Posts’ tab, and then a secondary sort for how you want them sorted with the groups.

    As you are using our shortcode method and therefore have already customised the results.php, you would need to code so that as it loops through the posts it checks the current category and correctly adds beginning and ending HTML and titles for each category group. Very customised, but possible.

    Anonymous
    #191981

    I am still scratching my head on this one.

    I installed the Advanced Taxonomy Terms plugin and placed the terms in manual sort order but it isn’t working with S&F.

    Is there a trick to this that will make it work?

    Don’t really have the advanced programming skills to pull it off and thought this would work since it works with general post listings.

    Thanks!

    Trevor
    #192030

    Plugins that allow you to change the display order of posts, taxonomies and terms do not work with our plugin. Indeed, they can cause problems (invalid results).

    If the values are in a Custom Field (Post Meta), our plugin allows you to manually specify the order in which they appear, but not for taxonomy terms.

Viewing 7 posts - 1 through 7 (of 7 total)