I have been using shortcoder successfully for some time on a Multisite installation. Recently the Insert Shortcode button has stopped working. Instead of showing my shortcodes it displays the following:
Insert a Shortcode
Create Shortcodes” ); ?>
Shortcoder Insert shortcode to editor
$value){ if($key != ‘_version_fix’){ echo ‘
‘ . $key; echo ‘
‘; preg_match_all(‘/%%[^%s]+%%/’, $value[‘content’], $matches); echo ‘
‘; if(!empty($matches[0])){ echo ‘
Available parameters:
‘; $temp = array(); foreach($matches[0] as $k=>$v){ $cleaned = str_replace(‘%’, ”, $v); if(!in_array($cleaned, $temp)){ array_push($temp, $cleaned); echo ” . $cleaned . ‘:
‘; } } echo’
‘; }else{ echo ‘No parameters avaialble – ‘; } echo ‘Insert Shortcode’; echo ‘
‘; echo ‘
‘; } } ?>
The shortcodes themselves are still working fine but I can’t insert them using the tinymce button.
Any advice as to the possible cause of this problem would be much appreciated.
Jeff