Exclude posts from search

This topic contains 19 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #397969

    Joy
    Buyer
    Post count: 1076

    Hello my Gd advanced search it returning Ajax results for posts. I don’t think it’s normal behavior. Can you please check to see what the problem is?

    Thank you.

    #397970

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #398005

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #398006

    Joy
    Buyer
    Post count: 1076

    At the home page please type in “test”

    When the ajax auto complete loads, it shows a post and a listing. Shouldn’t it only be listings? I don’t want posts showing up in the search.

    Thank you.

    #398027

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    its loading a tag and a listing, the featuretest is a tag not a post 🙂

    Stiofan

    #398148

    Joy
    Buyer
    Post count: 1076

    Oh I see! But shouldn’t the search only return listings? How can I remove tags or any other content from appearing in the search?

    Thank you.

    #398238

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    No, it also searches tags and categories, this is a good thing, i am not sure why anyone would want to disable that, i don’t even think we have a hook to disable it 🙂

    Stiofan

    #398314

    Joy
    Buyer
    Post count: 1076

    I am trying to use tags to link blog entries to certain listings. That’s why I don’t want tags to appear in the search. Unless you have another idea? On the blog page I show the listing, and since I cannot show specific listings by name or ID number, I call the listing to the blog entry by tag. So its an internal tag and not meant to be utilized by users.

    Can this be customized at all or will it break the functionality of the search?

    #398415

    Joy
    Buyer
    Post count: 1076

    Sorry to bump this, but the topic is marked as resolved but it is not.

    Thank you.

    #398449

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The blog tags and the GD tags are separate, i’m not sure how you think you can link them?

    Stiofan

    #398522

    Joy
    Buyer
    Post count: 1076

    Hi Stiofan, I am adding a tag to the place listing, then I am making a blog post and placing a listing widget that shows that particular listing using a shortcode with the tag name,since I am not able to call listings in the widgets by Id number, this seemed like my only option.

    Thank you.

    #398533

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    There is no way to disable the terms in search autocomplete just now, if you need that ability i can add a filter.

    Stiofan

    #398534

    Joy
    Buyer
    Post count: 1076

    Hi, if you could add a filter to disable tags, that would be excellent.

    Thank you.

    #398643

    Joy
    Buyer
    Post count: 1076

    Hi Stiofan, just checking in this. Thank you.

    #398653

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Can u provide FTP info and i will apply the patch.

    Stiofan

Viewing 15 posts - 1 through 15 (of 20 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount