Customize Search Results to Show like Yelp

This topic contains 6 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 10 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #464466

    Ellory Wells
    Lifetime Member
    Post count: 64

    hey guys,

    I’d like to be able to change/add/remove the information that’s shown on the search results page:

    Here’s my page: https://www.cigarscore.com/search/

    Here are the default short codes:
    [gd_notifications]
    [gd_search]
    [gd_loop_actions]
    [gd_loop layout=1]
    [gd_loop_paging]

    Right now you get the featured image, listing title, reviews, and the option to “favorite” the listing. However, since I use a custom text area for my listing description (to limit customization to paid listings), I get a blank area in my search result output.

    What I’d LOVE to be able to do is make the listing name bigger, and add the address and categories to the currently blank area (see attached image 1). If I can make it look like the Yelp search results (see attached image 2), that’d be great!

    #464490

    Kor
    Moderator
    Post count: 16516

    Hi Ellory,

    Thanks for your post. Could you share your WP admin access here in private reply so that I could check your GD setup?

    Thanks!

    #464497

    Ellory Wells
    Lifetime Member
    Post count: 64
    This reply has been marked as private.
    #464498

    Ellory Wells
    Lifetime Member
    Post count: 64

    And please let me know what you do and change so I can repeat the process or undo it later.

    #464617

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    The search page contents do not need to be changed to achieve that.

    With GDV2 you can change the Archive Item template, which is the template that controls how your listings look across your site.

    If you haven’t already, please take a look at this document about how to personalize your site:
    https://wpgeodirectory.com/docs-v2/personalize/

    Follow the links to view information about Page Design and the GD Archive Item template

    #464708

    Ellory Wells
    Lifetime Member
    Post count: 64

    Hi Alex,

    I’ve read through the documentation, I can’t find what I’m looking for.

    Here are the help docs I reviewed:
    https://wpgeodirectory.com/docs-v2/geodirectory/personalize/
    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/

    When I look at the GD Archive Item page (https://www.cigarscore.com/gd-archive-item/) it looks pretty good, but what is output on my search pages (ex: https://www.cigarscore.com/places/california/) looks different.

    Here is the current shortcode I’m using (although I’m tweaking it as you read this):
    [gd_archive_item_section type=’open’ position=’left’]
    [gd_post_images type=’image’ ajax_load=’true’ link_to=’post’ show_logo=’true’ ]
    [gd_archive_item_section type=’close’ position=’left’]
    [gd_archive_item_section type=’open’ position=’right’]
    [gd_post_title tag=’h3′]
    [gd_author_actions author_page_only=’1′]
    [gd_post_distance]
    [gd_post_rating alignment=’left’ ]
    [gd_post_fav show=” alignment=’right’ ]
    [gd_post_meta key=’business_hours’ location=’listing’ alignment=’left’]<br>
    [gd_output_location location=’listing’]
    [gd_post_meta key=”post_category” show=”value” alignment=”right”]<br>
    [gd_post_meta key=”phone” show=”icon-value” alignment=”right”]<br>
    [gd_post_meta key=”website” show=”value” alignment=”right”]<br>
    [gd_archive_item_section type=’close’ position=’right’]

    Can you please help? I’d love to get the exact shortcode to create a Yelp-lookalike archive item.

    Also, what would be nice, is if we could output ‘street’ instead of the full address, ‘address’ shortcode. Or, if I could inline the address w/ CSS – but I’ll try to figure that one out.

    #464768

    Alex Rollin
    Moderator
    Post count: 27815

    You can change the search page gd_loop to list.

    Right now we have a snippet that will change all the address outputs to the same new format.

    https://wpgeodirectory.com/support/topic/change-address-format-2/#post-453834

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