[theme-reviewers] Child theme stylesheet

Ola Łączek ola at bodera.com
Thu Feb 6 13:13:05 UTC 2014


Hello!

I've got a quick question - should authors include piece of code like this
in themes? I can't see the point, WordPress handles this on it's own after
all.

    // Load style.css from child theme
    if (is_child_theme()) {
        wp_enqueue_style('infinite-child', get_stylesheet_uri(), false,
null);
    }

Best regards,
Ola Laczek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140206/23611b1e/attachment.html>


More information about the theme-reviewers mailing list