{"id":1321,"date":"2013-12-04T06:16:08","date_gmt":"2013-12-04T06:16:08","guid":{"rendered":"http:\/\/musilda.cz\/?p=1321"},"modified":"2013-12-04T06:16:08","modified_gmt":"2013-12-04T06:16:08","slug":"twenty-fourteen-nova-zakladni-wordpress-sablona","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/twenty-fourteen-nova-zakladni-wordpress-sablona\/","title":{"rendered":"Twenty Fourteen nov\u00e1 z\u00e1kladn\u00ed WordPress \u0161ablona"},"content":{"rendered":"

Jak jsme ji\u017e mohli zvyknout, WordPress vyd\u00e1v\u00e1 pro ka\u017ed\u00fd rok novou \u0161ablonu. M\u00e1me tu zn\u00e1mou 2012, n\u011bkte\u0159\u00ed z n\u00e1s se je\u0161t\u011b nes\u017eili se vzhledem 2013 a ji\u017e n\u00e1m na dve\u0159e klepe nov\u00e1 \u0161ablona pro rok 2014. A vypad\u00e1 \u00fapln\u011b odli\u0161n\u011b.<\/p>\n

Pokud se d\u00e1 \u0159\u00edci, \u017ee p\u0159edchoz\u00ed \u0161ablony, byly ur\u010deny pro klasick\u00fd blog, tak vzhledem k tomu, jak se v\u00fdvoj\u00e1\u0159i sna\u017e\u00ed syst\u00e9m posunout d\u00e1le, je Twenty Fourthteen p\u0159iklon\u011bn\u00edm k magaz\u00ednov\u00e9mu stylu.<\/p>\n

Hlavn\u00ed zm\u011bnou je v\u00fdpis \u0161esti featured \u010dl\u00e1nk\u016f na hlavn\u00ed stran\u011b a fixed header. To je to prvn\u00ed, co v\u00e1s zaujme. Zaj\u00edmav\u00fdm dopl\u0148kem je lev\u00fd sidebar, kter\u00fd je v\u0161ak na mobiln\u00edch za\u0159\u00edzen\u00edch zmiz\u00ed. V ka\u017ed\u00e9m p\u0159\u00edpad\u011b je to dobr\u00e9 vyu\u017eit\u00ed pr\u00e1zdn\u00e9ho m\u00edsta na v\u011bt\u0161\u00edch monitorech a umo\u017en\u00ed v\u00e1m p\u0159idat dal\u0161\u00ed naviga\u010dn\u00ed prvek.<\/p>\n

Jako font byl pou\u017eit Lato, co\u017e je jednoduch\u00fd a elegentn\u00ed font, kter\u00fd tak\u00e9 r\u00e1d pou\u017e\u00edv\u00e1m. K dispozici jsou i dv\u011b template, jedna full width, u kter\u00e9 zmiz\u00ed prav\u00fd sidebar a contributor page, co\u017e je vlastn\u011b v\u00fdpis autor\u016f. Horn\u00ed menu p\u0159i scrollov\u00e1n\u00ed z\u016fst\u00e1v\u00e1 fixn\u011b ukotveno u horn\u00edho okraje str\u00e1nky a je tak neust\u00e1le k dispozici.<\/p>\n

Do css byla p\u0159id\u00e1na nov\u00e1 t\u0159\u00edda pull, co\u017e je v podstat\u011b blockquote, ale cel\u00e1 citace je na \u0161ir\u0161\u00edch monitorech posunut\u00e1 do marginu str\u00e1nky, vy\u010dn\u00edv\u00e1 tedy z obsahu a pout\u00e1 v\u011bt\u0161\u00ed pozornost. Zaj\u00edmalo by mne, pokud by se tato technika vyu\u017eila u n\u011bjak\u00e9ho banneru, zda by se zv\u00fd\u0161ila proklikovost.<\/p>\n

\u0160ablona pro spr\u00e1vnou funkci vy\u017eaduje vyu\u017eit\u00ed n\u00e1hledov\u00fdch obr\u00e1zk\u016f a k dispozici jsou t\u0159i widget oblasti v lev\u00e9m sidebaru, prav\u00e9m sidebaru a pati\u010dce. Novinkou by m\u011bl b\u00fdt Ephemera \u00a0widget, na kter\u00fd jsem celkem zv\u011bdav\u00fd a m\u00e1 zobrazovat va\u0161e posledn\u00ed videa, hudbu, odkazy a dal\u0161\u00ed…\u00a0P\u0159edpokl\u00e1d\u00e1m, \u017ee to bude vyu\u017e\u00edvat druhy obsahu a podle toho je ve widgetu zobrazovat.<\/p>\n

Nakonec odkaz na demo <\/a>a screen \u0161ablony<\/p>\n

\"Twenty<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

Jak jsme ji\u017e mohli zvyknout, WordPress vyd\u00e1v\u00e1 pro ka\u017ed\u00fd rok novou \u0161ablonu. M\u00e1me tu zn\u00e1mou 2012, n\u011bkte\u0159\u00ed z n\u00e1s se je\u0161t\u011b nes\u017eili se vzhledem 2013 a ji\u017e n\u00e1m na dve\u0159e klepe nov\u00e1 \u0161ablona pro rok 2014. A vypad\u00e1 \u00fapln\u011b odli\u0161n\u011b.<\/p>\n","protected":false},"author":1,"featured_media":1322,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,32],"tags":[389],"class_list":["post-1321","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-wordpress-sablony","tag-twenty-fourteen"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1321"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=1321"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1321\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/1322"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=1321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=1321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=1321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}