WordPress.org

Ready to get started?Download WordPress

Forums

My Shortcodes
[resolved] Next page shortcode (6 posts)

  1. kryvulena
    Member
    Posted 1 year ago #

    Hi there

    I wonder is there a way to create a shortcode/replacement [ next ] for the WP next page shortcode <! --nextpage--> that has to be inserted in the html mode? I tried to use php echo but it didn't work out.

    http://wordpress.org/extend/plugins/my-shortcodes/

  2. David Cramer
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry but I'm having a hard time understanding.

    Can you rephrase the question?

  3. kryvulena
    Member
    Posted 1 year ago #

    Hi

    I often publish long articles that are easier to read if they are split into subpages. I often use WP code to divite pages into parts: <!--nextpage-->
    I tried to create a custom shortcode (ie. [next] ) with your plugin that would generate <!-nextpage--> in place of it but it didn't work out.
    Any hint, please?

  4. David Cramer
    Member
    Plugin Author

    Posted 1 year ago #

    you cant really do that with a shortcode as WordPress only processes shortcodes after it process the <!--nextpage--> which means by the time the shortcode is rendered, the time to place the next code has long gone.

  5. David Cramer
    Member
    Plugin Author

    Posted 1 year ago #

    closing

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    possibly use this plugin to add a 'nextpage' button to the editor(s) http://wordpress.org/extend/plugins/nextpage-buttons/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.