Any search bar for other pages that isn't from geodirectory?

This topic contains 10 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
  • #41113

    Rei
    Buyer
    Post count: 28

    Hai the plugin is very nice and everything. But I’m wondering if I could use the search bar from the plugin on the homepage of my website. Maybe a big search bar where the user can search as they visit the main page. A php code or something so I can put it in the layout.

    I’m thinking below the slider on my homepage website http://foodfinder.my/
    Trying to do something like from this website http://www.hungrygowhere.com/

    Let me know if it’s possible, thanks. Not something similar but at least the feature for search is there

    #41114

    Guust
    Moderator
    Post count: 29970

    You can add a shortcode
    https://wpgeodirectory.com/docs/core-shortcodes/#search

    or you can use the GD > Search widget.

    #41128

    Rei
    Buyer
    Post count: 28

    How about php script for the gd search bar? Shortcodes doesn’t seems to work in php files.

    Thanks for the list of shortcodes.

    #41131

    Guust
    Moderator
    Post count: 29970

    Just paste the shortcode in the page, using the normal editor. [above “Latest Recipes” or something like that].
    Your homepage is just another WP page, is it not? No need to add to the php file.

    #41141

    Rei
    Buyer
    Post count: 28

    I want it to appear in the homepage between my slider and recent post. Not on some page or post btw. Just like I mentioned on the first post. It’s ok I guess if it’s not possible.

    Any idea if I could display a huge map on the main GD page, besides in being in the sidebar? Something like from the GeoDirectory Theme Framework theme for example.

    #41153

    Guust
    Moderator
    Post count: 29970

    How did you create your homepage? That is just a normal WP page and then chosen as homepage is it not? How did you add the recent post there? With a widget? If so, add a text widget above the recent post, and then post the shortcode in there.

    To add a map to http://foodfinder.my/location/ , go to
    WP > appearance > widgets and add the GD > Gmap-home page widget to the GD Home Top Section

    https://wpgeodirectory.com/docs/layout/

    If you still are stuck, post your admin details in a private reply and we will have a look.

    #41157

    Rei
    Buyer
    Post count: 28
    This reply has been marked as private.
    #41160

    Guust
    Moderator
    Post count: 29970

    Right, I see the problem now. Your homepage does not have a widget area at that place, so I suggest you add a new widget area at the right spot.

    You might need to create a new template that allows you the right positioning.
    More info @ http://codex.wordpress.org/Page_Templates
    and
    http://codex.wordpress.org/Widgetizing_Themes

    There is a bit more info here:
    https://wpgeodirectory.com/support/topic/how-do-i-make-a-call-to-action-button-on-the-menu-bar/

    #41198

    Paolo
    Site Admin
    Post count: 31206

    shortcodes can also be used in PHP with these wordpress function:

    Please see: https://codex.wordpress.org/Function_Reference/do_shortcode

    Thanks

    #41390

    Rei
    Buyer
    Post count: 28

    I think the shortcodes with php solved the problem. Thank you guys.

    #41413

    Paolo
    Site Admin
    Post count: 31206

    You are welcome!

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

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

Open Support Ticket