WordPress.org

Forums

Table of content
[resolved] Plugin installed, '[toc]' inserted into posts but no table of c (10 posts)

  1. madhavaji
    Member
    Posted 3 years ago #

    Hey,

    It's all in the title.

    I've installed the plugin, changed the settings and inserted '[toc]' into a couple of posts but each of these posts does not replace '[toc]' with a table of contents. Instead I just see the '[toc]' shortcode in the post.

    To try and debug this I put a 'die;' just after "function shortcode_toc($attribs) {" on line 254 of "content-table.php" and, even though I do have '[toc]' in the post the function never fires!

    Any ideas?

    Cheers,

    Michael.

    http://wordpress.org/extend/plugins/content-table/

  2. madhavaji
    Member
    Posted 3 years ago #

    Ooops, my bad. I've just realised that no shortcodes are working.

    Clearly this is not an issue with this plugin.

    Thanks,

    m.

  3. Sed Lex
    Member
    Plugin Author

    Posted 3 years ago #

    Glad that's not the plugin... I hope you will find out the problem and solve it

  4. madhavaji
    Member
    Posted 3 years ago #

    I did sir,

    It was my bad. I forgot to apply_filters() to the_content() :( Schoolboy error..

    Once I'd fixed that I got your plugin working nicely. Congratulations on a great job. Simple, functional and beautifully written pluggin. It does no more or less than it has to and it does it very well.

    Thanks too for your quick response. All round I'm impressed..

    Happy Holidays..

    m.

  5. Sed Lex
    Member
    Plugin Author

    Posted 3 years ago #

    That's cool !

    Thank you for your feedback and your support. It is substantial since I am not a developer :)

  6. peterhasert
    Member
    Posted 2 years ago #

    Hi,

    Are there any plans to make this plugin compatible with 3.4.1 ?

  7. Sed Lex
    Member
    Plugin Author

    Posted 2 years ago #

    It is !

    Why ? What is the issue(s) ?

  8. peterhasert
    Member
    Posted 2 years ago #

    Hi,

    This is the error I get when I try to activate it:

    Warning: implode() [function.implode]: Invalid arguments passed in /www/htdocs/w008b6d6/website/wp-content/plugins/content-table/core/debug.class.php on line 84

    Any ideas?

  9. RoamFree
    Member
    Posted 2 years ago #

    peterhasert, I am not seeing that error on 3.4.1 -- where are you seeing that?

  10. Sed Lex
    Member
    Plugin Author

    Posted 2 years ago #

    Try to uninstall and then reinstall

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic