{"id":3210,"date":"2016-10-13T08:25:51","date_gmt":"2016-10-13T08:25:51","guid":{"rendered":"http:\/\/musilda.cz\/?p=3210"},"modified":"2016-10-13T08:25:51","modified_gmt":"2016-10-13T08:25:51","slug":"wordpress-4-7-live-editace-css-stylu-bez-child-theme","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/wordpress-4-7-live-editace-css-stylu-bez-child-theme\/","title":{"rendered":"WordPress 4.7 – live editace css styl\u016f, bez child theme"},"content":{"rendered":"\n

\u00daprava vzhledu \u0161ablony a aktualizace, jsou \u010dernou m\u016frou nejen webm\u00e1ster\u016f, ale b\u011b\u017en\u00fdch u\u017eivatel\u016f. Bez zt\u00e1ty zm\u011bn, \u0161lo toto doposud \u0159e\u0161it jen pomoc\u00ed child theme, nebo vlastn\u00edm pluginem.<\/p>\n\n\n\n

Pokud se v\u0161e stihne, bude do WordPressu za\u0159azena nov\u00e1 \u010d\u00e1st Customizeru.<\/p>\n\n\n\n

Ta v\u00e1m umo\u017en\u00ed, ps\u00e1t vlastn\u00ed css k\u00f3d a re\u00e1ln\u00e9m \u010dase vid\u011bt zm\u011bny na webu!<\/strong><\/h2>\n\n\n\n

D\u00edky tomu, \u017ee se bude jednat o data, jen\u017e se ulo\u017e\u00ed v datab\u00e1zi, aktualizace \u0161ablony se jich nijak nedotknou.<\/p>\n\n\n\n

Vypadat by to m\u011blo takto:<\/p>\n\n\n

\n
\"custom-css-proposal-demo-1\"<\/a><\/figure><\/div>\n\n\n

Pro u\u017eivatele to je naprosto \u00fa\u017easn\u00e1 z\u00e1le\u017eitost.<\/p>\n\n\n\n

Samoz\u0159ejm\u011b, \u017ee se objevuj\u00ed rozporupln\u00e9 reakce, n\u011bkdo je pro, n\u011bkomu se to nel\u00edb\u00ed, ale pokud to p\u016fjde pou\u017e\u00edvat takto jednodu\u0161e, u\u017eivatel\u00e9 to ocen\u00ed.<\/p>\n\n\n\n

Opr\u00e1vn\u011bn\u00ed<\/strong><\/h2>\n\n\n\n

P\u0159esto\u017ee je na z\u00e1kladn\u00ed \u00farovni vylep\u0161en\u00ed sanitov\u00e1no, nelze to pro css ud\u011blat \u00fapln\u011b. Proto je nov\u011b vytvo\u0159eno opr\u00e1vn\u011bn\u00ed unfiltered_css, kter\u00fd v z\u00e1kladu vych\u00e1z\u00ed z unfiltered_html. U multisite, nem\u00e1 ve v\u00fdchoz\u00edm stavu, toto opr\u00e1vn\u011bn\u00ed administr\u00e1tor konkr\u00e9tn\u00ed site, ale super admin.<\/p>\n\n\n\n

A te\u010f ta nejv\u011bt\u0161\u00ed pecka:<\/p>\n\n\n\n

Revize, zv\u00fdraz\u0148ov\u00e1n\u00ed syntaxe a na\u0161ept\u00e1va\u010d<\/strong><\/h2>\n\n\n\n

Toto je sice zat\u00edm ozna\u010deno jako future release, ale pokud se to poda\u0159\u00ed dot\u00e1hnout, tak m\u00edt revize u \u00faprav k\u00f3du, bude super. Takto n\u011bjak vypad\u00e1 pl\u00e1n:<\/p>\n\n\n

\n
\"customizer-css-i2\"<\/a><\/figure><\/div>\n\n\n

Ob\u010das mne n\u011bkter\u00e9 nov\u00e9 v\u011bci ve WordPressu sp\u00ed\u0161e irituj\u00ed, ale toto bude opravdu super a je vid\u011bt, \u017ee customizeru se bude d\u00e1vat \u010d\u00edm d\u00e1l v\u011bt\u0161\u00ed v\u00e1ha.<\/p>\n","protected":false},"excerpt":{"rendered":"

\u00daprava vzhledu \u0161ablony a aktualizace, jsou \u010dernou m\u016frou nejen webm\u00e1ster\u016f, ale b\u011b\u017en\u00fdch u\u017eivatel\u016f. Bez zt\u00e1ty zm\u011bn, \u0161lo toto doposud \u0159e\u0161it jen pomoc\u00ed child theme, nebo vlastn\u00edm pluginem. Pokud se v\u0161e stihne, bude do WordPressu za\u0159azena nov\u00e1 \u010d\u00e1st Customizeru. Ta v\u00e1m umo\u017en\u00ed, ps\u00e1t vlastn\u00ed css k\u00f3d a re\u00e1ln\u00e9m \u010dase vid\u011bt zm\u011bny na webu! D\u00edky tomu, \u017ee<\/p>\n","protected":false},"author":1,"featured_media":8647,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,30],"tags":[111,478],"class_list":["post-3210","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-novinky","category-wordpress","tag-customizer","tag-wordpress-7"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/3210"}],"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=3210"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/3210\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/8647"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=3210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=3210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=3210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}