Hi Caroline (and all),
The site is coming along nicely. I'm having tons of fun making the theme go "circles all the way down." I got to the point where I could get my circles in pages that pull posts by categories. You can see how I did that in an earlier post.
Now I got stumped trying to get the navigation buttons « » in the nav-below class to show. These are useful when you exceed the number of posts allowed in Settings/Reading. You can see them in the home page just fine. I thought the solution would be as easy as adding the spun_content_nav function to my Template page after the content template part. Here's what I have so far:
<?php /* Template Name: Projects */ get_header(); ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php the_post(); $args = array( // Change these category SLUGS to suit your use. 'category_name' => 'projects', ); $list_of_posts = new WP_Query( $args ); while ( $list_of_posts->have_posts() ): $list_of_posts->the_post(); get_template_part( 'content', 'home' ); endwhile; ?> <?php spun_content_nav( 'nav-below' ); ?> </div><!-- #content .site-content --> </div><!-- #primary .content-area --> <?php get_sidebar(); ?> <?php get_footer();
The page using the template can be found here.
[scratches his head]