• did not work after install:
    – no <!–nextpage–> code was added to post
    – strange “wp-table-of-paginated-contents//images/trans.gif” image was added before the proper [shortcode]

    it sort of worked by adding a proper page break right before the [shortcode], but then wptopc and wptopc_pagination_links started using “Page X” rather than the title in shortcodes.

    after looking for the file that output the gif, i modified wp-table-of-paginated-contents-tinyMCE-plugin.js at line 14:

    ed.execCommand('mceInsertContent', 0, '<img src="' + url + '/images/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />');
    ed.execCommand('mceInsertContent', false, "[section_title title="+section_title+"]");

    into:

    //ed.execCommand('mceInsertContent', 0, '<img src="' + url + '/images/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />');
    ed.execCommand('mceInsertContent', false, "<!--nextpage-->");
    ed.execCommand('mceInsertContent', false, "[section_title title="+section_title+"]");

    that seems to be working, now i get:
    <!–nextpage –>
    [shortcode]

    https://www.ads-software.com/plugins/wp-table-of-paginated-contents/

  • The topic ‘fix to make it work on WP 3.8’ is closed to new replies.