ample [child-theme]
-
motyw potomny
– – –jako nowicjusz, dopiero niedawno dowiedziałem się o takiej potrzebie, czyli utworzenia motywu potomnego, co jakby jest oczywiste, wszystko aktualizuję się w nieskończoność do lepszej wersji, w momencie automatycznej aktualizacji skórki, tracisz swoje spersonalizowane zmiany, swój zmodyfikowany css… to jest oczywiste
a ponieważ mam już kilka zmian w skórce(w pliku *.css, w pliku footer.php, inne), a nie pamiętam wszystkich (nie prowadziłem rejestru zmian), mam swoją intuicję, żeby zrobić to w taki oto prosty sposób:
———————-
=> skopiować wszystko, czyli cały katalog ze skórką „ample” (wszystkie pliki)i na swoim dysku lokalnym nazwać go inaczej => „ample child theme”
=> zmienić pierwszy wiersz w nagłówku w style.css:————-
/* Theme Name: Ample Theme URI: http://themegrill.com/themes/ample/ Author: ThemeGrill Author URI: http://themegrill.com Description: Ample is a multipurpose responsive WordPress theme made to help you create a beautiful professional looking site in no time. It has numerous built-in options to give your site the look that you want. Get free support at http://themegrill.com/support-forum/ and check the demo at http://demo.themegrill.com/ample/ Version: 1.0.4 License: GNU General Public License, version 3 (GPLv3) License URI: http://www.gnu.org/licenses/gpl-3.0.txt Tags: light, white, three-columns, right-sidebar, left-sidebar, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, responsive-layout Text Domain: ample */
———
na:
/* Theme Name: ample child theme ... */
= > i taki katalog, już z inną nazwą – wgrać przez klienta FTP już jako nową skórkę do katalogu „/themes”
[i to wszystko]
=> zmienić skórkę na „ample child theme”—————-
moje pytania do doświadczonych osób – czy ten sposób jest dobry?
- Temat ‘ample [child-theme]’ jest zamknięty na nowe odpowiedzi.