WordPress.org

Ready to get started?Download WordPress

Forums

Quicktags Change Output (3 posts)

  1. sumeetjain
    Member
    Posted 8 years ago #

    There is an option in Quicktags for a new page. It inserts <!--nextpage--> into the post text. Somewhere along the lines, PHP searches for <!--nextpage--> and inserts a page break there.

    Where can I find that document? Instead of <!--nextpage--> I would like it to say <!--begin_new_chapter-->, and changing this just in the quicktags.js is not sufficient.

  2. MichaelH
    Member
    Posted 8 years ago #

    The wp_link_pages is in template-functions-post.php.

    You might also see:
    http://codex.wordpress.org/Styling_Page-Links
    Conditional_Tags#A_Paged_Page
    FAQ

  3. sumeetjain
    Member
    Posted 8 years ago #

    Thanks for the reply. I'll take a look at those links in a minute. However, I was able to find what I was looking for in /wp-includes/functions.php.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic