Add a default cover image to a listing page

This topic contains 9 replies, has 3 voices, and was last updated by  Guust 7 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #396632

    Dave Flanagan
    Free User
    Post count: 81

    I would like to add a custom image to the cover section of a listing page if a user decides to not add any photos to their listing. Right now it’s set to a default image within Supreme Directory but there should be able to swap that photo out with something else. Any help would be appreciated (please refer to screenshot)

    #396664

    Paolo
    Site Admin
    Post count: 31206
    #396687

    Guust
    Moderator
    Post count: 29970

    I think this may assist too:
    https://wpgeodirectory.com/docs/core-design/#listings

    Upload listing no image:

    This option lets you upload an image to use for listings when no images are uploaded by the user.

    You can also upload default images for each category to show if the listing has no images uploaded, and that default image from the category will take priority over the image uploaded at the settings on the listings page. Navigate to your categories to upload a default image there if that is what you prefer.

    #396802

    Dave Flanagan
    Free User
    Post count: 81

    Is there a way for users to change their author profile picture without using BuddyPress?

    #396847

    Paolo
    Site Admin
    Post count: 31206

    You can direct them to gravatar.com for that. Or you can use UsersWP. Without one of these, no. GeoDirectory doesn’t provide extra tool for user management.

    Thanks

    #397674

    Dave Flanagan
    Free User
    Post count: 81

    I’m still having trouble changing the picture of the “map” that’s in the header of the profile page. I would like it to be changed from something else other than the “map” (refer to screenshot)

    #397726

    Paolo
    Site Admin
    Post count: 31206

    You need to add this snippet in your wp-config.php:

    define('SD_DEFAULT_FEATURED_IMAGE', 'http://your image url here');

    Thanks

    #402174

    Dave Flanagan
    Free User
    Post count: 81

    Is there a specific place, within config.php, that I should place this code?

    Thanks
    Dave

    #402175

    Dave Flanagan
    Free User
    Post count: 81

    Ignore my previous reply. I successfully changed the featured image!

    Thanks
    Dave

    #402210

    Guust
    Moderator
    Post count: 29970

    Great! 🙂 Thanks for letting us know.

Viewing 10 posts - 1 through 10 (of 10 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