WordPress.org

Ready to get started?Download WordPress

Forums

Displaying News (2 posts)

  1. avstu
    Member
    Posted 4 years ago #

    Is there a plugin i can use of some so my blog wont show up on my page in full?

    My site: http://www.avillafan.com/beta

    Idearly i would prefere it to show the opening to the blog (first paragrath of two), then a link so people can read the full post.

    Examples: http://www.avfcblog.com

    http://www.beersweden.se/

    Thanks in advance for help.

  2. MichaelH
    Member
    Posted 4 years ago #

    With the help of the Template Hierarchy article, determine what Template is displaying your posts (could be index.php). Then edit that Template and add the the_excerpt(). You may need to delete template tag, the_content().

    That 2nd example is using template tag, the_excerpt(), and then a link to the full article with something like this code:

    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php echo 'Read the rest of the story'; ?></a>

    http://wordpress.org/extend/plugins/better-excerpt/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.