Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • lostmanscreek

    (@lostmanscreek)

    Just to update, I tried that in every php file that had “read” in it (except archives because it was written different) and it didn’t work. I was still seeing the words”read the rest of” even though they were deleted from every php except archives – so i fugured maybe that’s where I need to concentrate. After the date info there were some lines that looked like this:

    </div>
    <div class=”post_details”>
    <?php the_excerpt(); ?>
    <p>Read the rest of “><?php the_title(); ?></p>

    all i did is change the word excerpt to content and it seems to solve the problem.
    Hope this can help someone else!

    lostmanscreek

    (@lostmanscreek)

    I’m trying to solve this issue as well. I have the site set up so it shows a page first, and then you can click on a category. (each category is essentially it’s own blog) But when it shows the posts, it only shows it in basic text and no pics, then has “Read the rest of…” I want it to post the entire post the way it does if you then click “Read the rest of…” I’ve looked over the first 4 questions, and can’t figure it out. Here’s what the code looks like in my main index:

    <?php get_header(); ?>
    <!– index.php start –>
    <div id=”content”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <table style=”margin-bottom:20px; margin-right:30px;”><tr><td>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <div class=”post_title_div”>
    <span class=”post_title”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></span>
    <span class=”post_datetime”><?php the_time(‘F jS, Y’) ?> at <?php the_time(‘g:ia’); ?></span>
    </div>
    <div class=”post_body”>
    <?php if (is_search()) {
    the_excerpt();
    } else {
    the_content(__(‘

    Read the rest of ‘) . “\”” . the_title(”, ”, false) . “\” »”);
    } ?>
    </div>
    <div class=”post_details”>
    Posted in <?php the_category(‘, ‘) ?>
    <?php if (function_exists(‘the_tags’)) { the_tags(‘<p>Tags: ‘, ‘, ‘, ‘</p>’); } ?>
    <?php comments_popup_link(‘No comment’, ‘1 Comment’, ‘% Comments’); ?> <?php edit_post_link(‘Edit’, ‘
    <span class=”edit_post”>’, ‘</span>’); ?>
    </div>
    <img src=”<?=bloginfo(‘template_directory’)?>/images/lr-fold.gif” style=”position:absolute;bottom:-1px;right:-1px;z-index:2″>
    </div>
    </td></tr></table>
    <!–post–>
    <?php endwhile; ?>
    <?php comments_template(); ?>
    <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 : ?>
    <div class=”post”>
    <div class=”post_title_div_notfound”>
    <span class=”post_title”><?php _e(‘Not Found’); ?></span>
    </div>
    <div class=”post_body”>
    <p><?php _e(‘Sorry, but no posts matched your criteria.’); ?></p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>
    </div>
    </div>
    <?php endif; ?>

    </div><!–content–>
    <!– index.php end –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    any help would be appreciated.
    thanks!

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