Support » Fixing WordPress » Getting post to show only headers

  • Newbie at CMS /Blogging I think I have the site pretty well set up however I can not find the verbage to insert into my index.php that will only show a few lines of text as opposed to the whole article.

    That being said I have looked on the web site and know it has to do with ‘the loop” bur after an hour of waiting for the nausiatingly slow website to show the knowledge base I decided to come to you guys for help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Look for this in your index.php:

    <?php the_content(); ?>

    and change it to this:

    <?php the_excerpt(); ?>

    hi kafkaesqui, it makes sense, but what if I’m using the excerpt for tagging the posts? Thanks, chr

    Thanks !

    gabon? How so are you using it for “tagging,” and perhaps a better question, why?

    If the excerpt is being used for something other than an actual excerpt, description, or summary note of the post’s content, see my plugin the_excerpt Reloaded, which allows you to force post content (abbreviated, naturally) to be used even when there is an excerpt:

    This is what my index.php in my themes folder says…I cant find <?php the_content(); ?> anywhere in my entire website?

    require_once(TEMPLATEPATH . ‘/header.php’);


    require_once(TEMPLATEPATH . ‘/footer.php’);
    I am using the Semiologic, 3 columns 3.2 theme…anyone familiar with this?

    On my version 2.0 there was:

    <?php the_content(‘Read the rest of this entry »’); ?>

    that I converted in:

    <?php the_excerpt(‘Read the rest of this entry »’); ?>

    It shows correctly the excerpt, but how to add the “more” button at the end of the post? Is there an embedded function or do I have to do it by hands?

    I’ve noticed another thing. It is not possible to use html in the excerpt. Is there anyway to enable it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Getting post to show only headers’ is closed to new replies.