WordPress.org

Ready to get started?Download WordPress

Forums

Meta Slider
[resolved] Does not work with child themes (11 posts)

  1. derekbeck
    Member
    Posted 1 year ago #

    I created the absolute simplest child theme: a child theme of the standard WP 3.5 theme Twenty Twelve. In Twenty Twelve the parent, and in other themes I've tried, Meta Slider works fine. But in making the simplest possible child theme of Twenty Twelve, literally a blank style.css (other than the requisite minimums in the style.css to make a child), and once the child theme is activated, the Meta Slider galleries no longer appear (though the navigation icons do).

    Clearly a bug here. Any ideas?

    http://wordpress.org/extend/plugins/ml-slider/

  2. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Derek,

    I have tested MetaSlider with "Starkers", which is pretty much the simplest theme you can get (it's worth checking out if you're making things from scratch).

    As you said it's a bug with the theme you have made - did you still have a call to wp_footer() in your footer.php file?

    Regards,
    Tom.

  3. derekbeck
    Member
    Posted 1 year ago #

    I tested it with my child theme of Twenty Twelve literally having just a style.css, so it should be importing the theme's default footer.php, and thus have wp_footer().

    Thanks for the reply,
    Derek

  4. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Can you send me a link to your site please?

    I'm going to play golf now (well.. attempt to play anyway) but I'll reply when I get back.

    Regards,
    Tom.

  5. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, I have tested this locally without issues (using 2012), please provide a link to your site so I can investigate further.

    Regards
    Tom.

  6. derekbeck
    Member
    Posted 1 year ago #

    Check it out here:
    http://test.derekbeck.com/vlc/

    The template directory twentytwelve-child-simple has but one file in it:
    style.css, which has the exact following contents only:

    /*
    Theme Name: Twenty Twelve Child (Redesign) (SUPERSIMPLE)
    Theme URI: http://wordpress.org/extend/themes/twentytwelve
    Template: twentytwelve
    Author: Derek W. Beck
    Author URI: http://wordpress.org/
    Description: Customization of: The 2012 theme for WordPress
    */
    
    @import url("../twentytwelve/style.css");
    @import url("../twentytwelve/rtl.css");

    Thanks for looking

  7. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, please try removing this line:

    @import url("../twentytwelve/rtl.css");

    (the script that makes the page read right to left - I'm not sure if you'd want this anyway?)

    Regards
    Tom

  8. derekbeck
    Member
    Posted 1 year ago #

    I did it because WordPress said so: "Even if the parent theme has no rtl.css file, it's recommended to add the rtl.css file to your child theme."

    At any rate, I've now removed it, and that does indeed fix it.

    But why should the rtl.css make a difference?

  9. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, the docs say:

    To support RTL languages, add rtl.css file to your child theme, containing:

    I'm not sure why rtl.css would make a difference- I guess some calculations made by flexslider assume the page is in a LTR language. Just trying to help :)

    Regards,
    Tom.

  10. derekbeck
    Member
    Posted 1 year ago #

    Okay, well thanks for the help!

  11. angie.28ng
    Member
    Posted 4 months ago #

    Hi, I am using Tweenty-eleven child theme for my blog page and "Circumference Lite" as the front/homepage. I've added a meta-slider in front/homepage and it works fine when Circumference Lite theme is activated.
    When I activated the Tweenty-eleven child theme, The meta-slider disappear.
    I've seen your discussion about this but in my case, there's no

    @import url("../twentytwelve/rtl.css");

    my site is http://www.angielovestory.com and I would like to know how to enable the meta-slider in my Circumference Lite theme while Tweenty-eleven child theme is activated?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic