Viewing 1 replies (of 1 total)
  • If you look in qoate-scs-script.php you’ll find this line:
    add_shortcode('code', 'qoate_replace_code');

    Change code to php and you’re good to go.

    You’ll also find this function in the same file (qoate-scs-script.php)

    function qoate_strip_shortcodes($content){
    	$content=str_replace('[code]','<pre>',$content);
    	$content=str_replace('[/code]','</pre>',$content);
    return $content;

    In order to have your shortcodes stripped no matter where they appear (RSS, excerpts, etc.) Change code into php here too.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Qoate Simple Code Snippets] New formats’ is closed to new replies.