Where is the search page?

This topic contains 7 replies, has 3 voices, and was last updated by  Paolo 8 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #42816

    Y A
    Expired Member
    Post count: 156

    Hi,

    I am trying to do the following:
    If the (normal) search doesn’t return any results, a link to the Add Listing page (or the Add Listing form, with a shortcode) will appear.
    I have been looking for the search page but cannot find it.

    Any guidance would be appreciated,
    Thanks.

    #42822

    Guust
    Moderator
    Post count: 29970

    If you mean the WordPress search page, you will have to copy the search.php file from your theme to your child theme, and edit that file.

    If you mean the GD search page, you can “translate” the “no records found” message.

    #42855

    Y A
    Expired Member
    Post count: 156

    Thanks,
    I mean the GD Search page, so I’ll have to translate it.
    Are shortcodes accepted in translations?

    #42859

    Guust
    Moderator
    Post count: 29970

    You cannot use shortcodes in the translation as far as I know.

    #42861

    Y A
    Expired Member
    Post count: 156

    It would help me if someone could direct me to the GD search function (that calls for the “no listings found” translation)

    #42880

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    it’s in listing-listview.php line 389

    great tip, use github search: https://github.com/GeoDirectory/geodirectory/search?utf8=%E2%9C%93&q=no+listings+found

    Thanks

    #42881

    Y A
    Expired Member
    Post count: 156

    Amazing ! Thank you

    #42882

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

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

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

Open Support Ticket