Default no image graphic not showing on detail page

This topic contains 2 replies, has 3 voices, and was last updated by  Giri 7 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #336000

    Jeff Tobler
    Full Member
    Post count: 18

    If we set a default no image graphic in the “design” tab of GeoDir admin, it only applies to the listings page, not the detail page. But if we set a default no image graphic in a custom post category, it shows up in both listings and detail.

    Q) How do we change a general default graphic for every detail page that is different from your map image and possibly different from the listings page?

    Ideally, we would want one for listings and one for the banner on detail when no image is present.

    #336089

    Paolo
    Site Admin
    Post count: 31206

    At the moment the only way I see is to replace the image in

    wp-content/themes/supreme-directory/images/featured.jpg

    With the image of your choice and make sure to keep a back up to replace it after every update.

    I asked to the developers to see if there is a hook that would allow to modify it without having to worry about updates, because with CSS it is not possible.

    They’ll let you know asap.

    Thanks

    #336548

    Giri
    Expired Member
    Post count: 3155

    Hi Jeff,

    we use a constant for supreme theme featured image.

    You can add a constant in your wp-config.php file to override that thumbnail.

    Something like this

    define('SD_DEFAULT_FEATURED_IMAGE', "http://yourdomain.com/images/featured.jpg")

    I have added a filter just now.

    So if you don’t want to use constant method, you can use the filter method from next version.

    Thanks

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

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

Open Support Ticket