WordPress.org

Ready to get started?Download WordPress

Forums

Only a preview in home (4 posts)

  1. piero06
    Member
    Posted 9 years ago #

    Hi,

    i want to show in the index only a preview of the post, as in the category index ... for example here http://www.mytag.org/hack/?cat=3 .

    What sould i do ?

  2. moshu
    Member
    Posted 9 years ago #

    Open the index.php and replace the tag the_content with the_excerpt.

  3. piero06
    Member
    Posted 9 years ago #

    My index.php

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    What ?

  4. Kafkaesqui

    Posted 9 years ago #

    The index.php for your active theme. That means

    /wp-content/themes/ACTIVE THEME/index.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags