• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Show Assigned Category Image with Each Post Title… Possible?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Show Assigned Category Image with Each Post Title… Possible?

This topic is: resolved

Tagged: category icon, category intro text, post title icon

  • This topic has 6 replies, 2 voices, and was last updated 10 years, 10 months ago by Ren Ventura.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 10, 2015 at 4:12 pm #136931
    bobbiejoadkins
    Member

    I am attempting to include a Category Specific Icon/Image next to each post title on my home page's blog feed. So I would have the Post Title, and then an image that identifies the category. And below that the standard Entry Meta.

    I am working off of the Genesis Sample Theme.

    I have managed to add a specific image to a category via the Archive Intro Text, and it shows perfectly at the top of the Category Archive page, but I'd like that same Icon to display after each post title (from that category) in the home page blog feed.

    You can see the category page's Intro Text below.

    Is there an easy way to do this?

    Thanks in advance!

    http://revivecreative.co/preview/sabina/category/personal-growth/
    January 10, 2015 at 9:00 pm #136955
    Ren Ventura
    Member

    If I'm understanding correctly, you want to basically associate an image/icon with a category and have this image output inline with the title and in the category archive? I'm assuming you're using an tag in the Intro Text field for the category?

    Doing this will require a bit of custom code. You first need to create a custom input to save an image for each category to the database and then you have to filter the titles to include the image.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    January 12, 2015 at 11:28 am #137203
    bobbiejoadkins
    Member

    Thanks Ren!

    Yes, That's exactly what I need to do... just a bit lost on how to go about it. Any help or direction you could point me in would be greatly appreciated.

    I'm definitely in the beginning stages of learning genesis hooks and filters.

    January 14, 2015 at 12:11 pm #137459
    bobbiejoadkins
    Member

    Any suggestions on how to go about doing this would be greatly appreciated!

    January 14, 2015 at 6:58 pm #137501
    Ren Ventura
    Member

    I wrote up some instructions on one way to do it. It uses the Advanced Custom Fields plugin, which you can download for free from the WordPress.org plugin repository.

    http://www.engagewp.com/how-to-add-icon-before-post-title-wordpress/


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    January 15, 2015 at 7:21 am #137524
    bobbiejoadkins
    Member

    That is fantastic! Thank so much.

    I had found a way to do it using css, but this is much cleaner. I'm going to try implementing it now.

    I really appreciate your time!

    January 15, 2015 at 9:08 pm #137616
    Ren Ventura
    Member

    No problem.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble