Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same here for me. Would be a great addition to my website. Installed it and can see the play button, but it doesnt do anything…

    This was my solution:

    But first, be warned as I was before I did that. Usually, you should never touch these files at all. The next update could reverse the desired effect or something else could go wrong. So do this at your own risk and make a backup. I had to do it, because it was an agony with the editor and I had to go on with my page.

    In the file:

    class-wc-admin-editor.php

    comment the line:

    $arr[‘wc_shortcodes_button’] = WC()->plugin_path() . ‘/assets/js/admin/editor_plugin_lang.php’;

    like this:

    /**
    $arr[‘wc_shortcodes_button’] = WC()->plugin_path() . ‘/assets/js/admin/editor_plugin_lang.php’;
    */

    after that, the button for visual editing works again.

    Seems like a lot of people are currently looking out for that.

    Ok, so I was searching for a solution like crazy and finally found a – temporary – solution. After re-installing every single plugin and theme without success, I was almost giving up.

    If your button “Visual” in the editor isnt working/responding anymore, after installing Woocommerce, try this:

    via ftp, (make a backup first) open the file:

    /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-editor.php

    go to line 55 which looks like this:

    $arr[‘wc_shortcodes_button’] = WC()->plugin_path() . ‘/assets/js/admin/editor_plugin_lang.php’;

    and comment (put /** before and */ after) the line like this:

    /**
    $arr[‘wc_shortcodes_button’] = WC()->plugin_path() . ‘/assets/js/admin/editor_plugin_lang.php’;
    */

    Save and upload. Open a page/post and you should be fine. Hopefully!

    Enjoy,

    Flo

    This was my solution:

    In the file:

    class-wc-admin-editor.php

    comment the line:

    $arr[‘wc_shortcodes_button’] = WC()->plugin_path() . ‘/assets/js/admin/editor_plugin_lang.php’;

    like this:

    /**
    $arr[‘wc_shortcodes_button’] = WC()->plugin_path() . ‘/assets/js/admin/editor_plugin_lang.php’;
    */

    after that, the button for visual editing works again.

    Seems like a lot of people are currently looking out for that.

Viewing 4 replies - 1 through 4 (of 4 total)