category.php displays ALL posts instead of just those with the current category

Your problem is your use of query_posts(). Don’t use query_posts(), ever. Filter pre_get_posts instead. For example: function wpse74093_filter_pre_get_posts( $query ) { // First, make sure we target only the main query if ( is_main_query() ) { // Target the category index archive, // and only for the category “client-x” if ( is_category( ‘client-x’ ) ) … Read more

Show custom field from custom taxanomy term on custom post type

Use the get_the_terms function instead so you can build the list manually and access the term_id for each term. $terms = get_the_terms( $post->ID, ‘taxanomy-name’ ); echo ‘<ul>’; foreach( $terms as $term ): echo ‘<li>’; echo $term->name; the_field( ‘custom-field-name’, ‘taxanomy-name_’ . $term->term_id ); echo ‘</li>’; endforeach; echo ‘</ul>’;

How to List Thumbnails based on Custom Categories

You need to use custom post and make the categorys there and align the thumbnails in each post. <?php // query post type */*/ global $post; $args = array( ‘post_type’ => ‘YOUR-POST-TYPE-HERE’, ‘cat’ => $category, ‘suppress_filters’ => ‘0’, ‘numberposts’ =>’-1′, ‘orderby’ => ‘title’, ‘order’ => ‘asc’, ‘post_status’ => ‘publish’ ); $myposts = get_posts( $args ); … Read more