category

Replacing Archive Hero Image With Individual Category Thumbnail In Interior Pro Theme

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

Uploading featured image to terms of selected taxonomies

Without any plugin you can add the thumbnail or featured image to every terms of selected taxonomies. I did following functionality: Creating a user interface at Genesis Theme Settings page. Enable the featured image option for terms of selected taxonomy Adding a new field in Add/Edit terms form Saving the attachment for terms Step 1:… Keep Reading about Uploading featured image to terms of selected taxonomies

Showing full content on category page

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.

Adding categories and tags to pages

In this article I am showing how to add the category and tags to pages. First registering the category and tags taxonomy to “page” type by init and register_taxonomy_for_object_type functions. After adding this code “Categories” and “Tags” meta box will appear on Page Add/Edit Screen at Dashboard. Adding opening and closing footer markup. genesis_page_entry_footer_markup_open is… Keep Reading about Adding categories and tags to pages