WordPress.org

Ready to get started?Download WordPress

Forums

Extract 'teaser' text from the blog? (4 posts)

  1. michae1
    Member
    Posted 9 years ago #

    I'd like to be able to have a small sample of my blog appear on a separate page with a 'read the entire entry' link beneath. Has anyone had any experience with this? I was hoping there was a PHP script I could put on my main page that could pull the first x-number of words from the current entry.

    Thanks.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    What about RSS ?

    If you grab this plugin "RSS Fetched Link List" from http://blog.rawlinson.us/ then so long as the page you use it on is a .php page, you can pull the feed for your blog (or any rss feed) and display it.
    It works as a standalone too.

  3. Mark McKibben
    Member
    Posted 9 years ago #

    WordPress has something like this already built into it. Check out this article in the Codex.

  4. michae1
    Member
    Posted 9 years ago #

    Cool. Thank you both for the tips.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.