Search Results returning images

This topic contains 5 replies, has 2 voices, and was last updated by  Guust 10 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #28809

    amethyst1664
    Free User
    Post count: 3

    Searching on anything near to Derby displays any images that have the search terms in their title/tags/alt text eg. http://neartome.co.uk/?geodir_search=1&stype=gd_place&s=women&snear=derby&sgeo_lat=52.9225301&sgeo_lon=-1.4746185999999852 – not sure how to restrict search to just Places.

    In search results I don’t have a sort option either, only the change view option.

    Also, clicking on Favourites takes you to a log in which has an error Warning: array_unique() expects parameter 1 to be array, null given in /home/celameco/public_html/neartome.co.uk/wp-content/plugins/geodirectory/geodirectory-widgets/listing_map_widget.php on line 36

    I’m currently just setting things up and making sure I can do what I want it to do. Appreciate any help. I have hunted through the forums but can’t see anything similar.

    #28810

    amethyst1664
    Free User
    Post count: 3

    ( sorry – also I’m getting a “> at the end of results )

    #28815

    Guust
    Moderator
    Post count: 29970

    It looks like the search is returning all the listings that have “women” in the title. That is how it works, because that is what you searched for.

    Those troubles are most likely theme related.
    I see you use Customizr, so have a look at these topics and you should find what fixes you have to implement.

    Let us know how you went.

    #28819

    amethyst1664
    Free User
    Post count: 3

    Thank you, I’ll look into that side of things.

    #28822

    amethyst1664
    Free User
    Post count: 3

    Sorted the search results, thanks for pointing me to the obvious.
    http://themesandco.com/snippet/exclude-images-attachments-search-results/

    Any idea how I get the SORT option to show on search results page?

    #28824

    Guust
    Moderator
    Post count: 29970

    Oops, forgot to answer that question.
    GD > Place settings > open any of the custom fields and tick “add to sort” near the bottom of the field settings.
    Then go to sort options and follow the instructions on the page.

Viewing 6 posts - 1 through 6 (of 6 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