gd_post_images without fallback image

This topic contains 6 replies, has 3 voices, and was last updated by  anders 2 months, 4 weeks ago.

  • Author
    Posts
  • #538726

    anders
    Full Member
    Post count: 121

    Hi,

    I´m using gd_post_images shortcode to display a single image on gd_place CTP.
    When there are no image for a post then this spot should not display at all.
    But I also have the Logo field activated for gd_place and discovered that this will display as “fallback” when no image is uploaded in the image field.

    I tried including show_logo=”0″ but it does not work, is there another way to stop logo from acting as “fallback” image ?

    Thanks!

    #538737

    Kor
    Moderator
    Post count: 16516

    Hi anders,

    Thanks for your post. Could you try inserting a transparent image as a fallback image and see if it’s what you’re looking for?

    #538741

    anders
    Full Member
    Post count: 121

    Hi Kor,

    I’m not sure I understand how you mean
    …to clarify, now when a user use the logo field but leave out the image field.
    then the logo will display as fallback for the image field (which I don´t want since I’m already displaying the logo in the sidebar).

    Documentation describes how to enable logo fallback with show_logo=”1″
    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/
    But I´m looking for a way to disable this, should not show_logo=”0″ work?

    Thanks!

    #538752

    Kor
    Moderator
    Post count: 16516

    Hi Anders,

    Thanks for your reply. Could you share an example listing along with your Website WP admin access here in private reply so that I could check further?

    #538778

    anders
    Full Member
    Post count: 121
    This reply has been marked as private.
    #538804

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    sorry for the confusion, show_logo=1 is deprecated and will be removed from the options.

    The way to NOT show the logo is to either choose another fallback type image or set fallback types = 0

    You can do that in the shortcode builder or block or widget.

    #538834

    anders
    Full Member
    Post count: 121

    Thank you Alex,

    Setting fallback_types=”0″ did the trick!

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

The topic ‘gd_post_images without fallback image’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.