Unable to change featured image

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

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

Open Support Ticket
  • Author
    Posts
  • #433628

    Ethan Berg
    Buyer
    Post count: 8

    Hi all,

    I’m trying desperately to change geodir-post-img to display the logo image from a custom file upload field in my listings. I’ve done everything from changing the background-image CSS tag in Design > Scripts to using a listing-listview.php (copied from geodirectory-templates to my child theme’s geodirectory folder) and editing the geodir-post-img class to pull

    $post->geodir_profilepic

    instead of

    $post->geodir_featured_image

    . Nothing takes effect whatsoever. It’s almost like this class now pulls from somewhere else and no longer listens to a custom template nor the CSS overrides in Design > Scripts.

    I’m hopelessly lost but still hoping that someone can help me out. I’ve gotta get this product ready for launch. Thanks!

    #433715

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    If you are using an image file field for the logo in the Places Custom fields, where do you want to show the logo? Sidebar?
    Have you already set the logo fields values for “show in what locations” to sidebar and tried to upload a test?
    What else are you trying to achieve?

    #433951

    Ethan Berg
    Buyer
    Post count: 8

    Hi Alex,

    We already have the logo showing up properly on the detail page, however we want the logo to also show up in search results instead of the featured image.

    The recommended changes to template files that the developers have suggested in similar forum posts have no effect.

    Thanks!

    #433986

    Alex Rollin
    Moderator
    Post count: 27815

    A logo field is a feature of GDV2, but displaying them as the listing image is considered a customization for GDV1.

    You can post the code you are working with here and we can try to help.

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount