Changeset 583701
- Timestamp:
- 08/09/2012 09:32:12 PM (14 years ago)
- File:
-
- 1 edited
-
child-styles/trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
child-styles/trunk/readme.txt
r583687 r583701 30 30 31 31 32 style.css '. Otherwise, you must copy it 6 or 16 times (if you use BuddyPress) in the `32 style.css`. Otherwise, you must copy it 6 or 16 times (if you use BuddyPress) in the ` 33 33 34 34 … … 45 45 46 46 47 child-styles 'by renaming them according to the $files array, defined in the PHP file plugin. You may also edit each stylesheet by removing unused CSS lines.47 child-styles` by renaming them according to the $files array, defined in the PHP file plugin. You may also edit each stylesheet by removing unused CSS lines. 48 48 49 Important ! Assurez-vous d’abord de posséder les droits suffisants sur la feuille de style de votre thème, et qu’elle se nomme `style.css '. Sinon, vous devrez la copier 6 ou 16 fois (si vous utilisez BuddyPress) dans le dossier `child-styles'en la renommant selon le tableau $files, défini dans le fichier PHP de l’extension. Vous pouvez éditer ensuite chaque feuille de style en éliminant les lignes de code CSS superflues.49 Important ! Assurez-vous d’abord de posséder les droits suffisants sur la feuille de style de votre thème, et qu’elle se nomme `style.css`. Sinon, vous devrez la copier 6 ou 16 fois (si vous utilisez BuddyPress) dans le dossier `child-styles` en la renommant selon le tableau $files, défini dans le fichier PHP de l’extension. Vous pouvez éditer ensuite chaque feuille de style en éliminant les lignes de code CSS superflues. 50 50 51 51 == Frequently Asked Questions == … … 63 63 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. 64 64 65 = There is no style file for my `custom post types '=65 = There is no style file for my `custom post types` = 66 66 67 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.67 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. 68 68 69 69 = Copied stylesheets are all the same = … … 71 71 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. 72 72 73 = A new and useless `style.css 'stylesheet has been copied =73 = A new and useless `style.css` stylesheet has been copied = 74 74 75 75 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.
Note: See TracChangeset
for help on using the changeset viewer.