Images not working properly in search

This topic contains 14 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #534909

    Brittany Rohr
    Expired Member
    Post count: 15

    1. When you search for an online business- it shows the listings and they have strange additional images that aren’t supposed to be there.

    1a. There is also a 1 in the top left part of the screen just above the search bar.

    2. Then if you go back to the home page and search places. In that results page, change the places to online businesses- you get a shortcode.

    #534913

    Brittany Rohr
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #534957

    Kor
    Moderator
    Post count: 16516

    Hi Brittany,

    Thanks for your post. You’ve misconfigured the Archive item Template. Please refer to this section of the documentation to correct it https://wpgeodirectory.com/docs-v2/templates/archive-item/ . Also, check out the search template here https://wpgeodirectory.com/docs-v2/templates/search/ .Let us know how it goes.

    #537701

    Brittany Rohr
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #537723

    Alex Rollin
    Moderator
    Post count: 27815

    You can find the original badges in the Default Content of the GD Archive Item in the GD Settings

    WP Backend – GeoDirectory – Settings – Pages – Archive Item – Default Content

    You can use the shortcode builder to make new pages

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    More badge examples can be found here:

    https://wpgeodirectory.com/docs-v2/design/gd-badge/

    your image did not come through.

    #538136

    Brittany Rohr
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #538160

    Alex Rollin
    Moderator
    Post count: 27815

    Are you using the shrotcode builder to create those?

    I mean, you have a field with a key ‘test_label’?

    That badge is saying

    If there is a field with key ‘test_label’
    AND
    the value of that field is not empty
    THEN
    show a badge with the text “New Test”

    It looks like you have the badges placed outside the Archive item left start. Try placing them inside that archive item left start/end grouping.

    If we need to check the settings please share credentials in a private reply AND a link to the WP Backend edit page for the template so we know where to look.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    #538163

    Brittany Rohr
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #538166

    Alex Rollin
    Moderator
    Post count: 27815

    a link to the WP Backend edit page for the template so we know where to look?

    #538169

    Brittany Rohr
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #538177

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #538287

    Brittany Rohr
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #538533

    Alex Rollin
    Moderator
    Post count: 27815

    I corrected the tag badge in the archive item

    
    
    
    [gd_post_badge key="post_tags" condition="is_contains" search="social media" badge="Awesome" bg_color="#0073aa" txt_color="#ffffff"]
    
    
    #538751

    Brittany Rohr
    Expired Member
    Post count: 15

    That seems to have worked! Thank you. I will play with that some more and see if I can do a few other customized ones like that.

    It does appear however that the “favorite heart” isn’t quite right now though…Can you tell me how to make sure the spacing is correct?

    #538828

    Alex Rollin
    Moderator
    Post count: 27815

    Try adding line breaks, or the

    < br/>

    tag as I have done.

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