Custom icon in GD Archive and Archive Item

This topic contains 6 replies, has 3 voices, and was last updated by  Elise 5 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #529990

    Elise
    Expired Member
    Post count: 58

    On GD1 we had an icon/badge for awards that Guust assisted me with. Now with GD2 I am unsure of how to get this to work. I have set up a custom field in the back end for each of the relevant awards, but I am not sure how to enter the badge image. I am able to do font awesome icons, but not custom icons.

    Can you please assist?

    Thank you

    #529991

    Elise
    Expired Member
    Post count: 58
    This reply has been marked as private.
    #529996

    Kor
    Moderator
    Post count: 16516

    Hi Elise,

    Thanks for your post. You can refer to this article that explains more about this https://wpgeodirectory.com/docs-v2/design/gd-badge/

    #531348

    Elise
    Expired Member
    Post count: 58

    I have been through that support doc but it really doesn’t help me.

    #531455

    Alex Rollin
    Moderator
    Post count: 27815

    I added an image/html badge example: https://wpgeodirectory.com/docs-v2/design/gd-badge/#image

    
    
    
    <code>[gd_post_badge key="my_custom_field" condition="is_not_empty" badge="<img src='https://mysite.com/wp-content/uploads/2020/02/pbjt.jpg'/>" bg_color="#ffffff" txt_color="#ffffff"]</code>
    
    #531918

    Elise
    Expired Member
    Post count: 58
    This reply has been marked as private.
    #531922

    Elise
    Expired Member
    Post count: 58
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 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