• cindy c

    (@cindy_conlinyahoocom)


    Hi Jason, thanks for this plugin!

    I’m working on a site where we will be posting articles (as posts) that break into multiple pages. The plugin automatically restarts the numbering at 1 on each page. How can I get it to continue numbering through the entire post?

    Our articles have 70+ footnotes, so it would be fabulous to be able to use your plugin to manage and display them. Is there a piece of code I can insert that will change an option to “continue numbering” of the ordered list (Is that what it’s using?)

    Thank you so much in advance for your assistance –
    Cindy

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jason Yingling

    (@yingling017)

    Hi Cindy,

    Are you using a plugin or theme that adds the pagination to single posts feature?

    I’m afraid easy footnotes doesn’t support that at this time. I’d have to dig into the feasability of adding in support for the default WordPress pagination.

    I don’t have a great answer off the top of my head now though. But let me know how you’re currently creating the pagination and I can do some brainstorming.

    Thread Starter cindy c

    (@cindy_conlinyahoocom)

    Hi Jason,
    Thanks so much for your quick reply!
    I’m using the default WordPress post pagination available in the WYSIWYG editor. I added some code to the functions page to enable this button.

    Is that enough information? I tried to take a screenshot but can’t include it here. Below is code from the functions file:

    
    /* Add Next Page Button in First Row */
    add_filter( 'mce_buttons', 'my_add_next_page_button', 1, 2 ); // 1st row
     
    /**
     * Add Next Page/Page Break Button
     * in WordPress Visual Editor
     * 
     * @link https://shellcreeper.com/?p=889
     */
    function my_add_next_page_button( $buttons, $id ){
     
        /* only add this for content editor */
        if ( 'content' != $id )
            return $buttons;
     
        /* add next page after more tag button */
        array_splice( $buttons, 13, 0, 'wp_page' );
     
        return $buttons;
    }
    
    

    I do also have the tiny MCE style editor installed, so I could create my own formats for the client to use.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Continue numbering on page break – possible?’ is closed to new replies.