Support » Themes and Templates » Small Business » [Resolved] Only showing two excerpts on home page

[Resolved] Only showing two excerpts on home page

  • Although I have reading set to show 10 posts on the home page (as excerpts), the small business theme will only show two excerpts, leaving a huge white space left unfilled. Do I adjust this in the index.php file? I am lost. The site is set up on a test page right now at http://www.test.gospelconcersn.com.

    Here is some code from that page, although I no no clue if this is what I need to be chaging.

    [please remeber to mark any posted code – http://codex.wordpress.org/Forum_Welcome#Posting_Code – the code below is partially broken]

     <?php if (have_posts()) : while (have_posts()) : the_post();?>
    <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
     <p class="postmetadataw">Posted by: <?php the_author_posts_link() ?> | on <?php the_time('F j, Y'); ?></p>
     <h3 class="subtitle"><?php echo get_post_meta($post->ID, 'sb_subtitle', 'true'); ?></h3>
     <h2 class="post-title"><a>"><?php the_title();?></a></h2>
     <div class="content-ver-sep"> </div>
     <div class="entrytext">
     <?php the_post_thumbnail('thumbnail'); ?>
     <?php the_content('<p class="read-more">Read the rest of this page »</p>'); ?>
     <div class="clear"> </div>
     <div class="up-bottom-border">
     <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php the_tags('Tags: ', ', ', ''); ?></p>
     <?php endwhile; ?>
    <div id="page-nav">
    <div class="alignleft"><?php previous_posts_link('« Previous Entries') ?></div>
    <div class="alignright"><?php next_posts_link('Next Entries »','') ?></div>
Viewing 7 replies - 1 through 7 (of 7 total)
  • Michael


    Forum Moderator

    the corresponding template is front-page.php;

    the limitation is set in functions.php:

    function smallbusiness_ppp() { return array( 'post_type'=> 'post', 'ignore_sticky_posts' => 1, 'posts_per_page' => 2 ); }

    Wow. That was easy! Thanks so much. Did the trick. Quick last question although different question …

    On the right hand sidebar some of the recent articles posted are displaying their titles as full justification, giving too much space between some of the words. It looks horrible. Can this be fixed?



    Forum Moderator

    this alignment is inherited from:

    #content-full {
    	font-size: 14px;
        text-align: justify;

    overwrite it by adding a new style for instance to the end of style.css;


    #right-sidebar { text-align: left; }

    Again … PERFECT. You have been so hjelpful to me a rookie. Last question if you can … how do I get CATEGORIES to appear on indivudual post pages in the right sidebar. Right now, it only displays ARCHIVES. Thanks again.

    Thank you



    Forum Moderator

    how do I get CATEGORIES to appear on indivudual post pages in the right sidebar

    in dashboard – appearance – widgets: try and drag a ‘Categories’ widget and an ‘Archive’ widget into the ‘Main Sidebar’ section

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Only showing two excerpts on home page’ is closed to new replies.
Skip to toolbar