Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter sithicus

    (@sithicus)

    .. ok… sorry about that:

    <div id="content">
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <div class="post">
    <?php require('post.php'); ?>
    <?php comments_template(); // Get wp-comments.php template ?>
    </div>
    <?php endforeach; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    <p align="center"><?php posts_nav_link() ?></p>
    </div>

    My question is I want to change this so it shows excerts and not the whole content.. but i dont’ see where to edit! can anybody help?

    look inside the file post.php

    Thread Starter sithicus

    (@sithicus)

    any idea of what i might be looking for?

    something like

    <?php the_content(); ?>

    replace that with

    <?php the_excerpt(); ?>

    If still don’t get it, post the content of post.php here: https://paste.paste.uni.cc/

    Thread Starter sithicus

    (@sithicus)

    ya that is wha tI was looking for and couldn’t track it down..

    https://paste.paste.uni.cc/6870

    The code is there..

    -Chris

    Wrong post.php, I think. It would be in your wp-content/themes/ hierarchy, not in wp-admin.

    Thread Starter sithicus

    (@sithicus)

    sorry for wasting your guys time, i shouldn’t work so late.. i’m obviously brained damaged! thanks for suffering thru that heh.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘This is the code:’ is closed to new replies.