By default hero image of category archive page is coming from Customize -> Hero Image -> Post & Archive Hero Image section. So it is same for all category archive page. Now I am replacing this hero image with featured image of individual category. Only default archive hero image will show when a category have… Keep Reading about Replacing Archive Hero Image With Individual Category Thumbnail In Interior Pro Theme
Drop the following code in your functions.php file if you are targeting the specific category page then use the following snippet: 153 is my “Plugins” category ID. So code is only executing when a user is visiting my “Plugins” category archive page. Checkout this link for more details about WordPress’s is_category() function.