Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Limit number of words shown per post

This discussion is related to the NillaBlog addon.
RaizeRaize vancouver ✭✭
edited May 2011 in Vanilla 2.0 - 2.8
How do I add a "page break" or "jump" so that the blog page only shows x amount of words per blog post?

Comments

  • ddumontddumont ✭✭
    Adding an < hr> tag to the post will force the remaining content of the blog to only be visible when they click on the link to the post.
  • RaizeRaize vancouver ✭✭
    Perfect, thanks
  • RaizeRaize vancouver ✭✭
    edited May 2011
    Never mind, the read more link generated by < hr> doesn't seem to include "index.php?p=/" in the url, so it ends up being a dead link.. where would I change that?
  • RaizeRaize vancouver ✭✭
    Ok I have to set "rewriteurls" to TRUE in my conf file, and then it will work because it removes the "index.php?p=/" from the url
  • Thanks for the tip, this is exactly what I've been looking for! Perfect.
Sign In or Register to comment.