Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    • jackplug
      Guest

      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:

      Code:

      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

      Hi Jeff,

      Something is wrong here. I didn’t give any recent updates so everything must be working as expected.

      Please try the following.

      1. Deactivate and try again the plugin which you installed recently.

      2. Undo all the edits if you have made to “shortcoder” plugin directly by editing the code.

      3. Look for a shortcode which has improperly closed HTML tags. i.e has start tag but no end tag.

      4. Reinstall the plugin again.

      Please reply once you have tried these.

      Thanks,

      Aakash

    Viewing 2 posts - 1 through 2 (of 2 total)
    • The topic ‘tinymce shortcode insert problem’ is closed to new replies.

    Subscribe for updates

    Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter