How To Display Blog Pages for a Single Category

Author: , August 6th, 2018

Create a new page and set the page template to Blog. Add a new Custom Field to the page. Set the Name to the string query_args and the value to cat=NNN, where NNN is the ID of the desired category. Be sure to click Publish or Update when done. You can locate the Category ID […]

How To Display the Featured Image on a Single Post in WordPress Only for a Specific Category

Author: , January 24th, 2016

1 2 3 4 5 6 7 8 9 10 11 12 13 14 add_action( ‘genesis_entry_content’, ‘featured_post_image’, 8 ); function featured_post_image() {     $categories = get_the_category();     foreach ($categories as $category) {         // You can use slug, ID or any other identifier from the WP_Object         […]