Circles in Pages
-
Hi,
Thanks again for a great theme!
Atm, I’m trying to get circles in pages that are populated by posts according to specific categories. I created a child-theme which includes the following template:
<?php /* Template Name: People */ get_header(); ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php the_post(); $args = array( 'category_name' => 'people', ); $list_of_posts = new WP_Query( $args ); while ( $list_of_posts->have_posts() ): $list_of_posts->the_post(); get_template_part( 'content', 'home' ); endwhile; ?> </div><!-- #content .site-content --> </div><!-- #primary .content-area --> <?php get_sidebar(); ?> <?php get_footer();
My page I have set up with this template is here.
I’ve compared the generated hmtl in the homepage and this page and for the life of me, I can’t see why the thumbnails are not being turned into circles. Stumped.
I browsed through the posts here to see if anyone else had tried to do this and I couldn’t judge from the headings.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Circles in Pages’ is closed to new replies.