Changing from Full-Post Displays to Summaries

If you create a self-hosted site, you can make any theme display
excerpts or full posts. But, first, you need to learn the basics of
WordPress theme files and the WordPress loop.
Once you know your way around a WordPress theme and the
PHP code inside, you’re ready to make this relatively straightforward
edit. Usually, you need to edit your index.php file,
which creates the post listing on the home page of your site.
To get the display style you want, your code needs to use
the right WordPress function. If you use a function named
the_content(), your page will show the full content of each
post (or the teaser, if you use the More quicktag described on
page 196). But if you use a function named the_excerpt(),
your home page displays the post summary only. Usually, you
can switch between the two display modes by modifying the
line of code that has the function in it.
If you want a bit more technical information, check out the
WordPress function reference at http://tinyurl.com/theexcerpt.

Advertisements
Changing from Full-Post Displays to Summaries

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s