How to display only parent category ( not subcategories) in result list

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to display only parent category ( not subcategories) in result list

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5444
    Olivier Lecomte
    Olivier Lecomte
    Participant

    Hello

    My posts are in categories with subcategories. In the results lists, i’m displaying results by category : i have twice same result ( in the main categorie and the subcategorie !)
    how to display only parent category ( not subcategories) in result list ?

    Thank you for your plugin

    Attachments:
    You must be logged in to view attached files.
    #5461
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Currently it’s unfortunately not possible. The grouping algorithm moves the result to each category where it belongs.

    I will try to make an option for the next update to only show the result in the first category if possible.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.