Forums

[resolved] More link in excerpt (5 posts)

  1. peehoo
    Member
    Posted 2 years ago #

    Hi, Is there a way to add "continue reading" links automatically when using the_excerpt? I'd prefer not to use the_content and more-tags, since the desired excerpts may not start the post itself. When using the_excerpt, it's a bit of a nuisance to have to enter a "continue reading" link manually.

    cheers

  2. peehoo
    Member
    Posted 2 years ago #

    No need, found the wordpress excerpt editor plugin to do it for me.

  3. taghaboy
    Member
    Posted 1 year ago #

    <?php global $more; $more = false; ?>
    <?php the_content('Continue Reading'); ?>
    <?php $more = true; ?>
  4. taghaboy
    Member
    Posted 1 year ago #

    with cat : conferences
    <?php global $more; $more = false;
        query_posts('category_name=conferences');
        the_content('Continue Reading');
        //this last line is only necessary if you have more posts
        //to show in your template and want to show their full bodies,
        //not excerpts
        $more = true; ?>
  5. dlcramer
    Member
    Posted 1 year ago #

    Thanks a lot, this helped me as well.

Topic Closed

This topic has been closed to new replies.

About this Topic