Plugin Directory

Changeset 583701


Ignore:
Timestamp:
08/09/2012 09:32:12 PM (14 years ago)
Author:
phgras
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • child-styles/trunk/readme.txt

    r583687 r583701  
    3030
    3131
    32 style.css'. Otherwise, you must copy it 6 or 16 times (if you use BuddyPress) in the `
     32style.css`. Otherwise, you must copy it 6 or 16 times (if you use BuddyPress) in the `
    3333
    3434
     
    4545
    4646
    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.
     47child-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.
    4848
    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.
     49Important ! 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.
    5050
    5151== Frequently Asked Questions ==
     
    6363Multiple 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.
    6464
    65 = There is no style file for my `custom post types' =
     65= There is no style file for my `custom post types` =
    6666
    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.
     67Styles 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.
    6868
    6969= Copied stylesheets are all the same =
     
    7171After 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.
    7272
    73 = A new and useless `style.css' stylesheet has been copied =
     73= A new and useless `style.css` stylesheet has been copied =
    7474
    7575It'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.