StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   How to modify the "single page loop?" (http://www.studiopress.com/support/showthread.php?t=10107)

keener 06-21-2009 05:32 PM

How to modify the "single page loop?"
 
I want to use a related posts plugin with the Corporate Theme, and have the location and styling of the related posts links up to me. I figured on doing this by adding code similar to the following into the theme's single.php file
Code:

if ( function_exists('related_posts') && is_single() )  {
?>       
<div class="postpost">
        <h4>Related Posts:</h4>
        <?php related_posts(); ?>

        Get new Keener Living posts via RSS or Email or on your Kindle.
       


        <h4>Bookmark and Share:</h4>
        Tweet This
        Stumble This
</div>
<?php }

The problem is that I cannot find a single.php file. I looked for a theloop file to see if it took place of the single file and did not see it either. Basically I cannot find where in the code I need to add the above to get it to show for single blog posts.

Debra 06-21-2009 07:47 PM

Re: How to modify the "single page loop?"
 
in StudioPress themes index.php is the same as single.php

keener 06-21-2009 08:09 PM

Re: How to modify the "single page loop?"
 
Thanks, Debra.


All times are GMT -5. The time now is 03:15 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.