Category image on detail page

This topic contains 12 replies, has 4 voices, and was last updated by  Stiofan O’Connor 6 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #397265

    Andy Gough
    Buyer
    Post count: 9

    Been searching around for a while with no success. If i don’t add any images to a place should the category image show at the top of the place detail page? IT only seems to show images when i add an image to a place and then it show both the category image and feature image.

    #397273

    Kor
    Moderator
    Post count: 16516

    Hi Andy,

    Thanks for your post. Sorry, I’m not getting this, could you provide some links or screenshots? Or could you elaborate a little bit more?

    Thanks!

    #397289

    Paolo
    Site Admin
    Post count: 31206

    I think it depends on the theme, but normally the category image only appears in listings pages and search results pages (archives).

    #397356

    Andy Gough
    Buyer
    Post count: 9

    Hi Kor, please see screenshots below, on the listings page it shows the category image but on the detail page it doesn’t show this image but i can see there’s a broken link for ‘default-thumbnail.png’. If i add an image to a Place (Store in my case) then this image does show along with the category image.

    Thanks Paolo, i had a feeling this was the case after spending a good while searching for info on this.

    I’m using Divi as my theme.

    Thanks.

    #397363

    Kor
    Moderator
    Post count: 16516

    Hi Andy,

    Please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.

    #397364

    Andy Gough
    Buyer
    Post count: 9
    This reply has been marked as private.
    #397585

    Kor
    Moderator
    Post count: 16516

    Hi Andy,

    I’ll ask a developer to check this out.

    Thanks!

    #397620

    Andy Gough
    Buyer
    Post count: 9

    Thanks Kor – thats great.

    #397631

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Andy,

    That image looks to be something custom you have added, it is linking to a broken image in your child theme. If you need help locating it please provide wp-admin details in a private reply and we can take a look. (only staff can see)

    Thanks,

    Stiofan

    #397642

    Andy Gough
    Buyer
    Post count: 9
    This reply has been marked as private.
    #397645

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Andy,

    I found the code adding that image in the child theme and commented it out.
    I added the below code snippet to add the category image as the default image.

    add_filter('geodir_details_default_image_show','__return_true' );

    Thanks,

    Stiofan

    #397653

    Andy Gough
    Buyer
    Post count: 9

    Amazing! Thanks for your help on this Stiofan.

    Andy

    #397655

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome! 🙂

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

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

Open Support Ticket