WordPress.org

Support

Support » Plugins and Hacks » [Resolved] the_content on blog, the_excerpt on another site, with “Read More” link

[Resolved] the_content on blog, the_excerpt on another site, with “Read More” link

  • I’ve a client for whom I’ve set his blog to display the latest five posts’ excerpts on another of his sites. This is accomplished by use of a call to wp-blog-header.php at the top of the intended display page, and The Loop where the excerpts need to display on the other site.

    What is NOT working is when I try to make the […] at the end of the excerpt display something like [Read More…] and link to the blog page with the full post.

    Anyone know if this can be done? I just spent the last two hours reading through everything in the Codex, and about 3 years of posts on this forum, none of which seems to be what I’m looking for.

Viewing 1 replies (of 1 total)
  • Nev’mind, I figured it out.

    Here’s what you use:

    <?php the_excerpt(); ?><a href="<?php the_permalink() ?>" rel="bookmark">[Read more...]</a>

    You can style it with css to look however you like.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] the_content on blog, the_excerpt on another site, with “Read More” link’ is closed to new replies.
Skip to toolbar