Displaying Category Default Image On Listing Page

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

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

Open Support Ticket
  • Author
    Posts
  • #392609

    Kevin DeMara
    Expired Member
    Post count: 20

    Hey there,

    I’m wondering if anyone knows a method for displaying the category default image on the listing. I know the pinpoint image is dynamically generated based on the category, but what if I also wanted a small image of the category default image beside the pin on on each listing? Is there a specific line of PHP code that will allow me to do this? Please advise. Thanks 🙂

    Kev

    #392610

    Kevin DeMara
    Expired Member
    Post count: 20

    I found the code in geodirectory/geodirectory-functions/custom_functions.php for the $marker_icon. All I really need now if the variable name or method of loading the category’s default image. Any help is greatly appreciated. Thanks again

    #392656

    Kor
    Moderator
    Post count: 16516

    Hi Kevin,

    This can’t be achieved out of the box but I’ll transfer this to a developer for an opinion.

    Thanks!

    #392657

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    this function will get it

    geodir_get_default_catimage($term_id, $post_type);

    Stiofan

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