Detail template – add image triggered by category

This topic contains 4 replies, has 2 voices, and was last updated by  Alex Rollin 4 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #521775

    Kevin Holdridge
    Full Member
    Post count: 45

    I had this running in v1 but am now finally migrating to v2 and don’t know how to do it – suspect there are suitable hooks and actions.

    I have an additional category for some entries. When an entry is tagged to this category, a special image is displayed on the detail page (1) next to the post title and (2) in the sidebar.

    Any pointer would be much appreciated.

    #521806

    Alex Rollin
    Moderator
    Post count: 27815
    #521807

    Alex Rollin
    Moderator
    Post count: 27815

    You would want to make a badge based on the category, then put some html for the image in the badge=””

    #521834

    Kevin Holdridge
    Full Member
    Post count: 45

    Excellent, thanks, Alex. I hadn’t realised the badge was so flexible – means I’ve been able to do it just by playing with shortcodes in the GD Archive Item template.

    #521917

    Alex Rollin
    Moderator
    Post count: 27815

    It is INCREDIBLE. I love it more every day. And there’s more options coming for it really soon!

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

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

Open Support Ticket