Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter shastabert

    (@shastabert)

    I just thought I’d update this fix…

    I found this chunk of code in the main index page

    <div class=”entry”>
    <?php the_excerpt(); ?>
    </div>

    and I changed it to this….

    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>

    now it shows the whole post.

    I’d still like to know how to control the actual length for other site blogs. If anybody has any ideas I’d like to hear them.
    Thanks,
    ShastaBert

    http://idiotproofincomes.com

    Thread Starter shastabert

    (@shastabert)

    Thank you for the info. I tried every way conceivable with no luck. I straight coded an ad in the middle of the paragraph and that’s where it stopped. I’ll just keep playin’ till I learn what I need to know. I setup another site today with a different theme and it posted the entire post instead of just an excerpt so I’m pretty sure it’s going to be in the theme code. Thanks again.

    Thread Starter shastabert

    (@shastabert)

    Since it’s short I thought I’d just drop it here, Thanks….

    <?php get_header(); ?>

    <!– start content –>
    <div id=”content”>

    <?php if (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h1 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h1>
    <p class=”byline”><small><?php the_time(‘F jS, Y’) ?> by <?php the_author() ?> <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?></small></p>
    <div class=”entry”>
    <?php the_excerpt(); ?>
    </div>
    <p class=”meta”>” class=”more”>Read More      <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’, ‘comments’); ?></p>
    </div>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <p class=”byline”><small><?php the_time(‘F jS, Y’) ?> by <?php the_author() ?> <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?></small></p>
    <div class=”entry”>
    <?php the_excerpt(); ?>
    </div>
    <p class=”meta”>” class=”more”>Read More      <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’, ‘comments’); ?></p>
    </div>

    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Previous Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Next Entries »’) ?></div>
    </div>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </div>
    <!– end content –>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)