WordPress.org

Ready to get started?Download WordPress

Forums

Excerpt question for article publishing (8 posts)

  1. jdbg
    Member
    Posted 10 years ago #

    Hi everyone,
    I just installed WordPress. I have the following question - I want to use it for publishing my writings (not really a weblog - rather someting like a publications section). I want to put an article resumer (excerpt) for each article on the main (front) page and when the user clicks on the title/body of the excerpt to go to the whole article. How can I do this?
    10x in advance.

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    Write the openning paragraph out in the post box, then after this add <!--more--> (no spaces) and then continue with the article.
    What you'll get is an effect such as this....
    http://www.ikilltime.com/nohope/
    Where you have to click (more...) to read the rest of the article.

  3. Dougal Campbell
    Member
    Posted 10 years ago #

    What ragey tried to say was to do something like this:
    Here is my excerpt text. Blah blah blah....
    <!--more-->
    And here is the rest of the full text of my
    article, where I expound on the poetic
    qualities of Play-Doh...
    <!--nextpage-->
    But my article is really long, so it requires...
    <!--nextpage-->
    several pages.
    :)

  4. Dougal Campbell
    Member
    Posted 10 years ago #

    Oh, but it still ate some of the code. There are supposed to be <b>2</b> dashes after the exclamation marks and before the closing angle brackets.
    less-than, bang, dash, dash, 'more', dash, dash, greater-than

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    ok guys :)
    10x, but what do I need to put in my template?

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    What do you mean in your template?
    The function works automatically, with no extra code

  7. Anonymous
    Unregistered
    Posted 10 years ago #

    you can use ?php content("read the full story","",""); ?> to customize the link to the complete text
    more instructions are in the readme.html file ;-)
    fallen

  8. Anonymous
    Unregistered
    Posted 10 years ago #

    10x guys :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.