WordPress.org

Ready to get started?Download WordPress

Forums

Single.php - How to limit text and add pages (4 posts)

  1. Tydek
    Member
    Posted 1 year ago #

    Hello everyone! I need some help. By the way I am not that good at wordpress, still learning new things ...

    Here's my problem. For now everything works, so far. But there are several problems in single.php :

    • How to limit text in single.php
    • And how to add "pages - navgiation" - When you have more then let's say 2000 word = page 2.
    • Please let me know. I want to finish my website from zero to hero ;)

  2. The only way I know how to do this is by adding the next page link manually.

    If you install TinyMCE advanced - http://wordpress.org/extend/plugins/tinymce-advanced/
    you'll see that on top of the more tag, there's also the next page tag. The WYSIWYG button look very similar.

    Alternatively, if you normally use text mode instead of visual mode, you can insert the
    <!--nextpage-->
    tag and that will split your posts into separate pages.

  3. Tydek
    Member
    Posted 1 year ago #

    Thanks for your help. I'll try that out. ;)

  4. Tydek
    Member
    Posted 1 year ago #

    It's working. But there's one problem in code I need to limit text. Because it goes outside the web . Take a look what's happening :

    http://shrani.si/f/2J/kj/1UNhd0Wx/capture.png

Topic Closed

This topic has been closed to new replies.

About this Topic