Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

How to Add a Featured Image to a Category Page

  • Hello,
    I’d like to know how to add a featured image to a category page.

    For context, I’ve designed my category pages manually using GenerateBlocks > Elements > Block (Element Type: Content Template) and assigned them via the Location setting.

    However, I haven’t been able to find any way to add a featured image to these custom-designed category pages.

    Could you please let me know an easy way to do this?

  • Hi there,

    You can store a featured image for each category using a custom field.

    If you’re using ACF, create a new Field Group with an Image field, and set its Location Rule to Taxonomy > Category.

    Once that’s done, you can dynamically display the image by using the Term Meta dynamic tag in your block element.

  • Thank you for your reply. When you mention “ACF,” are you referring to a plugin?

  • Thank you!! I’ll try installing the plugin and follow your instructions.

  • No problem, let us know if you have further questions regarding that 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.