Sort Archive by Taxonomy

Other then two queries one for paid and on for free or creating a custom SQL query, its not possible natively. That’s not what taxonomies are for. Taxonomies are for grouping, not for ordering by. If you want to order by something, it has to be something in the post itself, not a term in … Read more

Only looping through pages that have children or subpages

I just figured out the answer to my own question. It works by counting the number of children pages using get_pages. Here is the working code: <?php $children = get_pages( array(‘child_of’ => $post->ID,’post_type’=>’custom-post-type-name’)); if( count( $children ) != 0 ) { ?> <h1><a href=”https://wordpress.stackexchange.com/questions/46090/<?php the_permalink(); ?>”><?php the_title(); ?></a></h1> <?php } else { } ?>

What is the best way to manage small blocks of content on my home page?

http://wordpress.org/extend/plugins/types/ This is easiest in my opinion. It’s like managing custom post types but with the custom field functionality. Simply first create a group ‘what we do’, then add each title as a text field ( there’s a button when creating groups that says ‘text’ just hit it 3 times and name each whatever). ‘Example … Read more