-
JEAHYUN
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?
-
Alvind
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.
-
JEAHYUN
Thank you for your reply. When you mention “ACF,” are you referring to a plugin?
-
Alvind
Yes, this one: https://wordpress.org/plugins/advanced-custom-fields/
-
JEAHYUN
Thank you!! I’ll try installing the plugin and follow your instructions.
-
Alvind
No problem, let us know if you have further questions regarding that 🙂
- You must be logged in to reply to this topic.