Changing map image from logo to feature image

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

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

Open Support Ticket
  • Author
    Posts
  • #514895

    Christy Stesky
    Full Member
    Post count: 7

    Hi guys,

    I am probably missing something in the settings, so my apologies if this is basic. How do I make the map bubble output the feature image instead of the company logo when both are uploaded to a profile?

    Thank you!
    Christy

    #514907

    Kor
    Moderator
    Post count: 16516

    Hi Christy,

    Thanks for your post. The image on the map bubble will use the listing’s first uploaded image. And the first image will always be the listing’s featured image.

    #518776

    info@supamoov.com
    Expired Member
    Post count: 47

    See this post February 17, 2019 at 11:55 am #469487 it says
    This is not a bug, in v2 we have new feature is display listing images. We have new option “Show Logo” in post images widget/shortcode(see attachment), so if there is an field added with name “logo” and

    show_logo=”true”
    then it will use image uploaded under logo to show in images.

    If you are using post images widget to show images then untick “Show Logo”.
    If you are using post images shortcode to show imagesthen do not use show_logo parameter or use show_logo=”false” in shortcode parameter.

    In map popup we have default

    show_logo=”true”
    . See https://github.com/AyeCode/geodirectory/blob/master/templates/map-popup.php#L30

    If you do not want to show logo as a main image then you can use template system. Just create folder /geodirectory/ in your theme and copy file \wp-content\plugins\geodirectory\templates\map-popup.php under it. So file location will be YOUR_THEME/geodirectory/map-popup.php.
    Now edit file YOUR_THEME/geodirectory/map-popup.php and remove show_logo parameter or use

    show_logo=”false”

    This minor edit fixed it for me

    #518813

    Alex Rollin
    Moderator
    Post count: 27815

    To change the map bubble image requires a customization as described here:
    https://wpgeodirectory.com/docs-v2/faq/customizing/#map-bubble

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

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

Open Support Ticket