WordPress.org

Ready to get started?Download WordPress

Forums

Auto-pagination (7 posts)

  1. merlin903
    Member
    Posted 9 years ago #

    Is there a way that I can tell WP to automatically insert a "more" link after a certain amount of words, or at the first paragraph break? I'm sure there is, I just haven't had the time to really get in and research the idea, or see if there is a hack/plug-in for it. I'm developing a intranet for a fashion design college, and the team that I'm working with wants to automate the insertion, so a user doesn't have to actively place the comment. I guess the best way for me to describe it would be to explain a scenario...
    Say an instructor who has little to no knowledge of computers is asked to place a news article on the page which is powered with WP. Now the article that they have written is close to two pages in length, and we have limited room on the page for posts, unless someone wants to know more about the article... is there a way that after say 150 words, WP will automatically be like "Hey, that's a lot of text you're placing here, I should break that up" and then just place the link?
    Let me know if I need to explain that a little more clearly.

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

    Automatically, no, but you could click the word 'more' in the white box just above the editing area.

  3. ic3y
    Member
    Posted 8 years ago #

    Is there really no other solution? Iam looking for an auto <!--more--> after 45 words.

  4. moshu
    Member
    Posted 8 years ago #

    Use the_excerpt tag instead of the_content on your index page.

  5. healthgurl
    Member
    Posted 8 years ago #

    I haven't tried this plug in yet, but I was looking for something similar to what you want:

    Evermore (http://www.thunderguy.com/semicolon/wordpress/evermore-wordpress-plugin/)
    Automatically display a short preview of your posts.

  6. ic3y
    Member
    Posted 8 years ago #

    Moshu > I appreciate your answer but iam pretty new with wp, could you eplain it a little more into detail? For example what file needs what edit (45 words -> auto read more)

    Thank you in advance

    Healthgurl > Thank you for the tip. I prefer to have this done manually or a plugin that has been tested by an audience but i'll take a look at it.

  7. moshu
    Member
    Posted 8 years ago #

    Your "main page" in the blog is displayed by the index.php (see the visual anatomy of a theme. In the post area/div in the code you'll find the template tag which displays the content, called (what else?) the_content. My suggestion was to replace it with the_excerpt - though in that case there is nor "more" link... the reader has to click on the title to get to the whole post.

    Alternatively you might try this plugin:
    http://guff.szub.net/the-excerpt-reloaded.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.