Make Logo Image Not Appear on Listing Page

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

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #538326
    #538327

    Kor
    Moderator
    Post count: 16516

    Hi Matt,

    Thanks for your post. Sorry, I’m not getting this. Could you capture a screenshot of what you’re trying to remove?

    #538336

    Alex Rollin
    Moderator
    Post count: 27815

    You can use GD Dynamic Content, though you may have to set your logo as a shortcode:

    Make a button like ‘hide_logo’ and use that

    https://wpgeodirectory.com/docs-v2/design/gd_dynamic_content/

    #538357

    Matt Goodwin
    Full Member
    Post count: 84

    I attached a screenshot with the image I do not want to appear, but so want that image to appear on the results pages. You will see that its the same image as the one right below it. The top one is a static image, the one below it updates when page is loaded.

    As far as GD> Dynamic Content..
    I do not seem to find that anywhere. The help document made it appear that it should be at GD>Design>Dynamic Content. I also checked GD>Settings but cannot seem to find it. I am using GD v2. I searched the support forum and did find a mention of a Dynamic Content widget but couldn’t see a way for that to work for this. Could you just point me in the right direction?

    #538383

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    as you can see on the docs it is a shortcode.

    First you set up the field
    Then use the shortcode builder to create the GD Dynamic Content wrapper
    Then create a GD Post Images shortcode to show the logo

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

    Try one of the examples to see how it works.

    #538450

    Matt Goodwin
    Full Member
    Post count: 84

    Thank you for the info. I was able to use the shortcode builder to add another logo but couldn’t get it to remove the logo, I also tried changing the values in the shortcode to “0” but it didn’t work.

    #538542

    Alex Rollin
    Moderator
    Post count: 27815

    Maybe the best solution is to delete the logo from those listings, then?

    #538584

    Matt Goodwin
    Full Member
    Post count: 84

    Tried that, the category page doesn’t look good at all without the images.

    #538820

    Alex Rollin
    Moderator
    Post count: 27815

    I cannot think of any other options that would help you with that.

    #538921

    Kor
    Moderator
    Post count: 16516

    Hi Matt,

    I’m looking at your category page now https://nhtourguide.com/wp/places/category/webcams-in-nh/new-hampshire/pittsburg/ and what exactly do you need?

    #538965

    Matt Goodwin
    Full Member
    Post count: 84

    On that category page I wanted to show the “Logo” image but when you click on the listing and view the listing page the logo image doesn’t show, so just want the logo image to appear on the category page only… but not for every listing on the directory, just the live webcams.

    Using the link you sent in your last post… click on only one with the logo image. When you got to the page you will see the logo image which is not live, then the live images below.

    It is possible to create a template where the code to show the logo image on the listing page is removed or commented out, then just assign the template to the listing individually? I would be ok with that.

    Or maybe an easier fix would be to show the live image as the logo so the category page shows the live images?

    I understand the GD setup wasn’t designed to do this, most are not. In the past I have had to customize a template just for the webcams.

    #539029

    Alex Rollin
    Moderator
    Post count: 27815

    It is not necessary to use a new template, but you could do that, with a customization.

    You can use GD Dynamic Content

    Make a field like ‘show_logo’ and set it to default checked.

    https://wpgeodirectory.com/docs-v2/design/gd_dynamic_content/

    
    
    
    [gd_dynamic_content key="show_logo" condition="is_not_empty"]
    [gd_post_images type="image" slideshow="1" show_title="1" animation="slide" controlnav="1" types="logo" fallback_types="0"]
    [/gd_dynamic_content]
    
    #539113

    Matt Goodwin
    Full Member
    Post count: 84

    Thank you! I made a field named show_logo and copy/pasted the shortcode you created into the “Value” box and saved the page I wanted to remove the logo from. The shortcode was automatically added to the top of the page replacing the shortcode that was there. From here I am getting confused. I wasn’t able to find a place to change a setting to default checked.

    #539210

    Alex Rollin
    Moderator
    Post count: 27815

    In the custom field (show_logo) options you can set it for checked by default.

    https://wpgeodirectory.com/docs-v2/places/custom/

    #539268

    Matt Goodwin
    Full Member
    Post count: 84

    ok but either way it won’t show up on the edit place page, or add new place page in the backend.

    In Places>Settings I do see the “Show Logo” checkbox field which I dragged to where I want it to appear but for some reason it’s not showing up.

Viewing 15 posts - 1 through 15 (of 16 total)

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

Open Support Ticket