WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Child Styles

Makes your styles shorter. Retrieve your WordPress or BuddyPress theme's stylesheet to display a new one according of the browsered page.

Installation of Child Styles triggered a fatal error

I do not have permission to copy the stylesheet of my theme automatically, I must do it manually.

I do not see the style files in the file extension

It's quite normal, there is none to begin with. There are hundreds of different themes online, and the plugin's directory can't have them all together. The stylesheet of the theme is reproduced at the time of installation, or an error occurred during activation.

The stylesheet has not been copied during installation

Multiple errors can occur depending on the security implemented by the various hosts. So, it was not possible to test them all. The stylesheet must be copied manually as all occurrences of the $files array, for each type of page on my site, and set in the PHP Child Styles file. I did not need to have as many style sheets as provided for BuddyPress if I did not use this plugin. The first 6 are enough for a blog that only uses WordPress.

There is no style file for my `custom post types`

Styles Child does not yet support custom post types, but it will be done in the next version, if there is a demand. Same problem for bbPress ... A temporary solution is to gather all the styles for the new single.css or style.css files copied in the plugin.

Copied stylesheets are all the same

After verifying that my theme displays correctly all page types using these files, I have to delete unused styles. It may be helpful to use GTmetrix (http://gtmetrix.com/) or PageSpeed ​​(https://developers.google.com/speed/pagespeed/insights) to point all unused CSS lines, and to delete them one by one. I do then work my styles and make them more readable for browsers, and further improve the efficiency of my site.

A new and useless `style.css` stylesheet has been copied

It's quite normal, and it serves as a spare in case of non-standard page. It is best to leave it as it for safety.

Requires: 2.9 or higher
Compatible up to: 3.2.1
Last Updated: 2012-8-9
Downloads: 1,178

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.