• Resolved Tim Sutherland

    (@681admin)


    I refer to: https://www.ads-software.com/support/topic/exclude-categories-from-listing-in-shortcode/ whereby you answered the question about how to include categories by using ID. I’ve done the same using labels and it works AOK.

    However, what if I want to exclude by a category. The question posed in the above post suggested using a minus in front of the ID, i.e. es_label=”-121″, however when I try this it simply includes label 121 ignoring the minus sign.

    Is there a way to achieve this?

    Scenario is, client wants to exclude properties with a certain label from their ‘all properties’ listing and include these separately elsewhere. I can handle the elsewhere using the above to only include by label X, but can’t do so using exclude on the all properties search shortcode.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Estatik

    (@estatik)

    Hi!
    The minus sign does not allow you to remove a taxonomy from the list, so you may need to list all the necessary taxonomies manually. We’ll take note of your request and will try to add this functionality in the future.

    • This reply was modified 2 months ago by Estatik.
    • This reply was modified 2 months ago by Estatik. Reason: reply from another ticket
    Thread Starter Tim Sutherland

    (@681admin)

    Thanks for letting me know. Is there a way to filter the main property search by agent or author in the shortcode?

    Plugin Author Estatik

    (@estatik)

    The attributes authors=”id” and agent_id=”id” currently exist for the shortcode es_my_listing.
    The shortcode es_search_form does not have them yet, but this is planned for future extensions.

    Thread Starter Tim Sutherland

    (@681admin)

    Thank you. I went with the es_type field and added all of the different types except for the one that we wanted to exclude.

    It’d be great if there was an exclude option or ability to filter by authors and/or agent_id for the es_search_form.

    I look forward to it!

    Thread Starter Tim Sutherland

    (@681admin)

    Hi Support Team

    In your previous reply you mentioned that

    The attributes authors=”id” and agent_id=”id” currently exist for the shortcode es_my_listing.
    The shortcode es_search_form does not have them yet, but this is planned for future extensions.

    Do you have an ETA on when this might occur? Having to list all the es_type and/or all the es_category using the es_search shortcode can be quite problematic as users can add new types and categories which are then excluded from the search until such time as an admin adds these to the shortcode.

    Being able to use author or agent_id would be much better as these details change far less often and are more manageable.

    Your response would be greatly appreciated or if anyone knows of the page/area where functionality that’s being worked on is being listed that’d be great too!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.