Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #77856

    FranzVz
    Participant

    Hello,

    I use Table of Contents Plus –> http://wordpress.org/plugins/table-of-contents-plus/ And their shortcode [toc] is the same as your shortcode [toc], which blocks TOC+ from showing up.

    Is it possible to edit a file and temporarily fix the prefix for the X TOC shortcode, and in the future maybe rename the X shortcode to [x-toc] or something similar?

    #77981

    Christian
    Moderator

    Hey Franz,

    Please modify shortcodes.php located in wp-content\plugins\x-shortcodes\functions. Search for add_shortcode( 'toc', 'x_shortcode_toc_container' );. Change toc to x_toc.

    Thanks for letting us know about this conflict. We might change this in a future release.

    Thanks and hope that helps. 🙂

    #134638

    owenb
    Participant

    Came looking for this solution, will give it a go now. Would be great to have a small modification to the x-toc short code for compatibility, if poss! 🙂

    #134903

    Paul R
    Moderator

    Hi Owen,

    We have forwarded this to our developement team.

    Thanks for your feedback.

    #327767

    seokai
    Participant

    Since you have replaced the X Shortcodes Plugin with Cornerstone,
    how can I deactivate/rename the [toc] shortcode, in order to get
    Table of Contents Plus rerunning?

    #327857

    Nico
    Moderator

    Hi There,

    You can check the link below on how to use Table of contents.

    https://community.theme.co//forums/topic/table-of-contents/#post-1357

    In cornerstone, add the shortcode in your text elemet.

    Let us know how it goes.

    Thanks.