Wordpress plugin to display part of post...

Discussion in 'WordPress' started by Teachmaster_J, Mar 6, 2008.

  1. #1
    I am new to blogging. I know I have seen posts about this, but cannot find the right combination of keywords to find them.

    I am looking for a plugin that will show only part of each post so that more will fit on each page. Any suggestions?
     
    Teachmaster_J, Mar 6, 2008 IP
  2. jhester

    jhester Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This isn't actually a Wordpress plug-in, but built-in functionality. You can use the "more" tag to write an excerpt that appears on the main page, with a link to the full blog post. A related tag allows you to create multi-page posts, for those REALLY long articles.

    Here's what the WP documentation says:

    more - <!--more--> WordPress tag that breaks a post into "teaser" and content sections. Type a few paragraphs, insert this tag, then compose the rest of your post. On your blog's home page you'll see only those first paragraphs with a hyperlink ((more...)), which when followed displays the rest of the post's content.

    page - <!--nextpage--> WordPress tag similar to the more tag, except it can be used any number of times in a post, and each insert will "break" and paginate the post at that location. Hyperlinks to the paginated sections of the post are then generated in combination with the wp_link_pages() or link_pages() template tag.
     
    jhester, Mar 6, 2008 IP
  3. Teachmaster_J

    Teachmaster_J Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for replying. I actually tried adding this code to create the teaser section but I got the following error every time:


    Warning: Cannot modify header information - headers already sent by (output started at /home/(username)/public_html/wp-content/themes/deep-blue-10/deep-blue-10/functions.php:13) in /home/(username)/public_html/wp-includes/pluggable.php on line 391

    What can I do about that? It won't let the code do its job. When I saved and and looked at the blog site it actually showed the <!--more--> tag in the post, but showed the whole post.
     
    Teachmaster_J, Mar 6, 2008 IP