StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-11-2010, 06:30 PM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default

rename your current home.php to homeorg.php

then use this code for your homepage. This will allow you to still set up a separate blog if you choose down the road.

PHP Code:
<?php get_header(); ?>

<div id="content">

    <div id="contentleft">
    
        <div class="postarea">
                
            <!--The blog page template is currently set to show 5 posts.  Change showposts=5 to whatever number of posts you want to display.-->
            <!--Replace cat=1 with the Category ID you want to display in this section.-->
            
            <h5>Blog</h5>
                
            <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1query_posts("showposts=5&paged=$page"); while ( have_posts() ) : the_post() ?>
            <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
                
            <div class="date">
                <p><?php the_time('F j, Y'); ?> by <?php the_author_posts_link(); ?> &middot; <a href="<?php the_permalink(); ?>#respond"><?php comments_number('Leave a Comment''1 Comment''% Comments'); ?></a>&nbsp;<?php edit_post_link('(Edit)'''''); ?></p>
            </div>
                
            <?php the_content(__('[Read more]'));?><div style="clear:both;"></div>
                
            <div class="postmeta2">
                Tagged: <?php the_tags(''?>
            </div>
                            
            <?php endwhile; ?>
            
            <p><?php posts_nav_link(); ?></p>
        
        </div>
        
    </div>
    
<?php include(TEMPLATEPATH."/sidebar.php");?>
        
</div>

<!-- The main column ends  -->

<?php get_footer(); ?>
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse

Make life easier use FireFox and these Customizing tools: Firebug - Web Developer

New to Genesis? See our Guide for Beginners!

Recommended StudioPress Designer
StudioPress on Facebook
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:10 AM.

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