Changeset 1119234
- Timestamp:
- 03/23/2015 10:53:50 PM (11 years ago)
- Location:
- one-click-child-theme/trunk
- Files:
-
- 5 added
- 1 edited
-
.gitignore (added)
-
assets (added)
-
assets/screenshot-1.png (added)
-
assets/screenshot-2.png (added)
-
assets/screenshot-3.png (added)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
one-click-child-theme/trunk/readme.txt
r879024 r1119234 4 4 Tags: theme, child theme, shared hosting, css, custom themeing 5 5 Requires at least: 3.0 6 Tested up to: 3.2.16 Tested up to: 4.1 7 7 Stable tag: trunk 8 8 … … 16 16 theme just by clicking. 17 17 18 In the current version of WordPress, you shouldn’t modify CSS of any downloaded themes 19 because if you update the theme, your changes will be destroyed. What you should 20 instead do is create a child theme and edit the CSS there, this way updates to the 21 parent theme will be inherited instead of destroy your changes. The problem is that 22 currently the only way to child theme something is edit files on the filesystem. This 23 is non-intuitive for shared-hosting sites with one-click WordPress installs (it 24 usually involves a “shell account” or learning how to use FTP). 18 Ever since WordPress 3.0, you shouldn’t directly modify CSS of any downloaded 19 themes because if you update the theme, your changes will be destroyed. Instead, 20 it is recommended that you create a child theme and edit the CSS there, this way 21 updates to the parent theme will be inherited instead of destroy your changes. 22 The problem is that currently the only way to child theme something is edit 23 files on the filesystem. This is non-intuitive for shared-hosting sites with 24 one-click WordPress installs (it usually involves a “shell account” or learning 25 how to use FTP). 25 26 26 This attempts to get around that issue, by adding a button to the themes page to allow27 you to child theme the page. (It’s not really one-click, though.)27 This attempts to get around that issue, by adding a button to the themes page to 28 allow you to child theme the page. (It’s not really one-click, though.) 28 29 29 Inspired by @janeforshort‘s and @designsimply's WordCamp SF 2011 talk on CSS theming30 as requested by @sfgirl for [her blog](http://pintsizedmusings.com/).30 Inspired by @janeforshort‘s and @designsimply's WordCamp SF 2011 talk on CSS 31 theming as requested by @sfgirl for [her blog](http://pintsizedmusings.com/). 31 32 32 33 == Installation == … … 34 35 ###Installing The Plugin### 35 36 36 Extract all files from the ZIP file, making sure to keep the file structure intact, and37 then upload it to `/wp-content/plugins/`. Then just visit your admin area and activate 38 the plugin. That's it!37 Extract all files from the ZIP file, making sure to keep the file structure 38 intact, and then upload it to `/wp-content/plugins/`. Then just visit your admin 39 area and activate the plugin. That's it! 39 40 40 41 **See Also:** ["Installing Plugins" article on the WP Codex](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins) … … 42 43 ###Using the plugin### 43 44 44 If you have the capability to install themes in your admin, then the themes menu will 45 have a new submenu called "Child Theme". Clicking on this gives you a form that will 46 allow you to create a child theme based on the current active theme. 45 If you have the capability to install themes in your admin, then the themes menu 46 will have a new submenu called "Child Theme". Clicking on this gives you a form 47 that will allow you to create a child theme based on the current active theme. 48 49 == Screenshots == 50 51 1. To use the plugin, click one of these two palces in the Appearance section of your `wp_admin` 52 2. Fill out this form 53 3. You will see the theme will be successfully child-themed, but will track the parent theme correctly. 54 55 == Frequently Asked Questions == 56 57 = I already modified my CSS in the existing theme? How do I use One Click Child Theme to fix this? = 58 59 You can wait for the theme to get updated and have it break it, of you can: 60 61 1. Go through the steps for installing and running the plugin above. 62 2. Click on the [Appearance > Editor](http://codex.wordpress.org/Appearance_Editor_SubPanel) in your admin dashboard menu (or network admin menu if multi-site). 63 3. Select the parent theme in the drop down on the right, click `Select` and make sure you are editing the file `style.css` (select on the right). 64 4. Copy the changes you made, if you managed to remember them. 65 5. Select the child theme you created to the drop down in the left (you should be editing `style.css`). 66 6. Paste your changes to the end of the file. 67 68 == Future Features == 69 70 * Better support for grandchildren (should copy the files over) 71 * Add an "add file" button the the editor to allow you to edit any file. 72 * "add file" should be able to include() file's from the parent. 73 * Support for multiple theme directories 74 * Error support is spotty at best 75 * UI is ugly/terrible (no redirect) 76 * Use Theme_Upgrader/WP_Upgrader to figure out what files user may have trashed and ported them 47 77 48 78 == ChangeLog == 49 79 50 **Version 1.3** 51 * Copy themes over 80 **Version 1.5** 81 82 * upgrade look of form to resemble most admin forms 83 * added Section for FAQ and Screenshots 84 85 **Version 1.4** 86 87 * Modified to account for [changed best practice from using @import to function.php](http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme) 52 88 53 89 **Version 1.2** … … 71 107 * 456789001234567890012345678900123456789001234567890012345678900123456789001234567890 72 108 73 == Future Features ==74 75 * Better support for grandchildren (should copy the files over)76 * Add an "add file" button the the editor to allow you to edit any file.77 * "add file" should be able to include() file's from the parent.78 * Support for multiple theme directories79 * Error support is spotty at best80 * UI is ugly/terrible (no redirect)81 * Use Theme_Upgrader/WP_Upgrader to figure out what files user may have trashed and ported them
Note: See TracChangeset
for help on using the changeset viewer.