WordPress.org

Ready to get started?Download WordPress

Forums

CodeColorer
add_shortcode not being called (3 posts)

  1. mampf
    Member
    Posted 2 years ago #

    Feature request for CodeColorer:

    To easily prevent WordPress from messing up the code between [cc][/cc] etc., just use the add_shortcode()-Function wordpress provides:

    https://codex.wordpress.org/Shortcode_API

    This will prevent running wpautop() when switching from and to visual/html-mode.

  2. calfzhou
    Member
    Posted 2 years ago #

    i usually put [cc]...[/cc] inside a pair of

    ...
    to prevent being messed up. Which also avoid converting spaces to " ".

  3. calfzhou
    Member
    Posted 2 years ago #

    I mean a pair of pre ... /pre

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic