Support » Plugin: Meta Slider » Meta Slider Version 2.8-beta Doesn't work with WP 3.9

Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Contributor matchalabs

    (@matchalabs)

    Hi Jimshim,

    This is the only report we’ve had about this. I doubt 3.9 is the cause (WordPress updates themselves very rarely break anything)

    Could you send me a link to your site please?

    Regards,
    Tom

    Tom,

    Here is one of the links

    http://jscc.cbe-bca.org/august-workshop/2010-august-workshop/

    Thanks

    Jim

    Plugin Contributor matchalabs

    (@matchalabs)

    Thanks. I can see some weird <p> tags being added to the slideshow output.

    Please could you try wrapping the shortcode in [raw] tags, eg:

    [raw][metaslider id=123][/raw]

    Regards,
    Tom

    Tom,

    I will try right now.

    thx

    Jim

    Tom,

    You’re a genius. That worked!

    Thanks so much!

    Jim

    Plugin Contributor matchalabs

    (@matchalabs)

    You’re welcome! Please consider leaving us a review if you get a minute 🙂

    Regards,
    Tom

    Tom,

    You bet!

    Jim

    Plugin Contributor matchalabs

    (@matchalabs)

    Nice one, thanks!

    I have the exact same problem. Meta Slider 2.8 beta. Worked fine on WP 3.8. After upgrading to 3.9 the same issue. I tried the solution of the [raw] tags and that solved the problem, however, I have a lot of Meta Slider content and it wil take a long time to fix everything. I installed the Search and Replace plugin but do not know how to use that for shortcodes with variable ID’s. If you have any other solution short of a backup restore I’d appreciate it.

    Plugin Contributor matchalabs

    (@matchalabs)

    Hi caeddm,

    I’ll take a look at why this might be happening with 2.8-beta.

    In the mean time there is a quick and dirty hack, please try adding this to your themes functions.php file:

    function metaslider_avoid_wpautop($html, $id, $settings) {
        return str_replace(array("\n", "\t", "    "), "", $html);
    }
    add_filter("metaslider_slideshow_output", "metaslider_avoid_wpautop", 10, 3);

    Regards,
    Tom

    Hello Tom.

    After adding it to the Theme functions.php file, I get an Internal Server Error. I am unable to access anything from the wp-admin login screen and the site is down. BTW, if it is useful, my TinyMCE Spell Checker also gave problems after the upgrade but I am less concerned about that.

    Plugin Contributor matchalabs

    (@matchalabs)

    Hi caeddm,

    Sorry to hear that – I think I know why that might have happened – sometimes when you paste code from these forums it converts the double quotes into invalid code. I should have used a github gist for it.

    Do you have FTP Access to your site, or a control panel that lets you access and edit your files? You’ll need to navigate to /wp-content/themes/YOURTHEME/functions.php and remove the code.

    Here is the same code but in gist format, it should copy and paste more reliably:

    https://gist.github.com/tomhemsley/11247365

    Regards,
    Tom.

    None of the solutions proposed is working for me…

    i included

    <?php
    echo do-shorcode(“[metaslider id=2308]”);
    ?>

    I ve tried to to

    <?php
    echo do-shorcode(“[raw][metaslider id=2308][/raw]”);
    ?>

    And

    <?php
    echo do-shorcode(“[raw]”);
    echo do-shorcode(“[metaslider id=2308]”);
    echo do-shorcode(“[/raw]”);
    ?>

    it didn’t work..; I’ve also tried to add the github’s code in my function.php…

    Nothing worked in my case…

    King regards…
    Nico

    Plugin Contributor matchalabs

    (@matchalabs)

    Hi nangenon,

    Are you sure your problem is related to wpautop? Do you have <p> tags in the slideshow output where they shouldn’t be?

    Regards,
    Tom

    No, The generated code doesn’t contain <p> tags…

    the problem is that i see the javascript code in the output code,

    <script type=”text/javascript”>var metaslider_2308 = function($) {$(‘#metaslider_2308’).responsiveSlides({ timeout:3000,pager:false,nav:true,pause:true,speed:600,prevText:”<“,nextText:”>”,auto:true});};var timer_metaslider_2308 = function() {window.jQuery && jQuery.isReady ? metaslider_2308(window.jQuery) : window.setTimeout(timer_metaslider_2308, 1);};timer_metaslider_2308();</script>

    but firebug tells me

    Uncaught TypeError: undefined is not a function (index):151
    metaslider_2308 (index):151
    timer_metaslider_2308

    Thanks in advance…

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Meta Slider Version 2.8-beta Doesn't work with WP 3.9’ is closed to new replies.