• I am trying to add a snippet for a few recent posts under each blog post on my site with the Spun theme, but I think I need to somehow enable the CSS code for it. So far I have added the following snippet to the single post php code,

    <?php
        $recentPosts = new WP_Query();
        $recentPosts->query('showposts=5');
    ?>
    <?php while ($recentPosts->have_posts()) : $recentPosts->the_post(); ?>
    
    					<?php
    						get_template_part( 'content', 'home' );
    					?>
    <?php endwhile; ?>

    but then I get a bunch of giant square thumbnails. Any ideas on what the next step would be to get the formatting right?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am trying that too ??
    any solutions ?

    Thread Starter jpdeweese

    (@jpdeweese)

    Nope… ??

    I haven′t tried this yet, though it seems an intriguing thing to do…

    My first guess would be to put the recent posts into their own <div> and add some css classes to them. Not being an expert I would use a browser plugin like Firebug to see how the theme formats what you′re adding and then work on it from there…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding circles for recent posts under each post’ is closed to new replies.