{"id":9818,"date":"2013-05-06T20:15:33","date_gmt":"2013-05-06T20:15:33","guid":{"rendered":"http:\/\/musilda.cz\/?p=312"},"modified":"2013-05-06T20:15:33","modified_gmt":"2013-05-06T20:15:33","slug":"jak-vytvorit-vlastni-sablonu-pro-wordpress-2-dil","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/jak-vytvorit-vlastni-sablonu-pro-wordpress-2-dil\/","title":{"rendered":"Jak vytvo\u0159it vlastn\u00ed \u0161ablonu pro WordPress \u2013 2 d\u00edl"},"content":{"rendered":"\n
Po n\u011bkolika dnech jsme zp\u011bt u seri\u00e1lu, ve kter\u00e9m vytvo\u0159\u00edme vlastn\u00ed responsivn\u00ed WordPress \u0161ablonu. V minul\u00e9m d\u00edle jsme si vysv\u011btlili jak \u0161ablona postupuje p\u0159i \u0159azen\u00ed soubor\u016f a kter\u00e9 soubory pot\u0159ebujeme. Dnes si p\u0159iprav\u00edme v\u0161echny z\u00e1kladn\u00ed soubory, jen\u017e n\u00e1m umo\u017en\u00ed vytvo\u0159it ji\u017e funk\u010dn\u00ed z\u00e1klad \u0161ablony.<\/p>\n\n\n\n
Ve slo\u017ece themes vytvo\u0159\u00edme novou slo\u017eku, kterou nazveme dummy-theme (n\u00e1zev je zcela na v\u00e1s). V t\u00e9to slo\u017ece vytvo\u0159\u00edme dal\u0161\u00ed, kter\u00e9 nazveme assets a v n\u00ed podslo\u017eky images (slo\u017eky pro obr\u00e1zky), js (slo\u017eka pro javascriptov\u00e9 soubory) a css.<\/p>\n\n\n\n