How to add featured image to post category?
📝 Note: This guide presents a feature that is part of Neve Pro which you can get from here. If you would like to learn more about the Neve Pro Addon, take a look at Neve Pro Addon's full documentation.
Adding an image to a post category can be done while editing a certain category.
Regular Post Categories |
Custom Taxonomies |
🗂 Regular Post Categories
- 2
- Open the Header Booster accordion and enable the Featured Image for taxonomies option.
- 3
- Go to Posts > Categories, select an existing one ( or create a new one ) and click on the Edit button.
- 4
- Scroll down to Featured Image and click on Upload / Add Image button.
- 5
- Click on the Update button.
-
That's it! Now you can do the same with the other categories as well.
🧩 Custom Taxonomies
Using Neve and the ACF plugin, you can create custom taxonomies. However, the featured image for custom taxonomies is not enabled by default. To display featured images for custom taxonomies too, follow these steps:
- 1
-
After installing ACF, navigate to ACF > Taxonomies.
- 2
-
Create the desired taxonomy and fill in the details.
- 3
-
Go to the functions.php file of the Neve theme and paste this code:
add_filter( 'neve_feature_image_taxonomy_support', function( $taxonomies ) { $taxonomies[] = 'genre'; // Add your taxonomy key here, duplicate this line if you want to add more return $taxonomies; } );
- 4
-
Now, navigate to Appearance > Neve Options > Neve PRO.
- 5
-
Under the Header Booster module, enable Featured image for taxonomies.
- 6
-
Select from the dropdown the custom taxonomies that you've created.
- 7
-
After this, you can navigate to Posts > Movies (this is the custom taxonomy in this example), and you can see the Featured Image section.