Taxonomy listing issue – does not display how I would like

SOLVED I found the answer in another post that was answered by @Gustav for anyone looking a solution like you can follow the link or view the code below it works perfectly. https://wordpress.stackexchange.com/questions/123059/list-post-from-current-taxonomy-children THE WORKING CODE <?php $term_slug = get_query_var( ‘term’ ); $taxonomyName = get_query_var( ‘taxonomy’ ); $current_term = get_term_by( ‘slug’, $term_slug, $taxonomyName ); $termchildren … Read more

post ordering question

Use a custom field named ‘order’ in each post. Remove the field from posts you do not want to display. Then call the WP_Query object to sort the order field numerically (meta_value_num) skipping any values less or equal to 0 (like in the meta_query below). $posts = new WP_Query( array( ‘orderby’ => ‘meta_value_num’, ‘meta_key’ => … Read more

Structure with category setting

I’m pretty sure i missunderstood you… Approach: Categories & Terms (built in taxonomies) You have got categories (hierarchical built in taxonomy) & terms (non-hierarchical built in taxonomy). You can also assign terms to categories. So i’d say, you can take the following approach using the built in taxonomies: shoes (parent category) boots (child category) sneakers … Read more

Continuous listing from a custom field

First of all, please don’t use query_posts, but a new WP_Query. Outpu count based on page is just a matter of a simple arithmetic operation using current page number and posts per page number. global $wp_query; $paged = $wp_query->get(‘paged’) ? : 1; $posts_per_page = 10; // feel free to change this $args = array( ‘cat’ … Read more