{"id":4613,"date":"2017-11-16T20:18:28","date_gmt":"2017-11-16T20:18:28","guid":{"rendered":"https:\/\/musilda.cz\/?p=4613"},"modified":"2017-11-16T20:18:28","modified_gmt":"2017-11-16T20:18:28","slug":"nebud-bordelar-ve-wordpressu-zakazat-nechtene-widgety-proc-vlastne","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/nebud-bordelar-ve-wordpressu-zakazat-nechtene-widgety-proc-vlastne\/","title":{"rendered":"Nebu\u010f bordel\u00e1\u0159: Jak ve WordPressu zak\u00e1zat necht\u011bn\u00e9 widgety (a pro\u010d vlastn\u011b)?"},"content":{"rendered":"

Chcete na webu zak\u00e1zat nepou\u017e\u00edvan\u00e9 widgety? V p\u0159\u00edslu\u0161n\u00e9 sekci administrace najdete v\u0161echny widgety, kter\u00e9 m\u016f\u017eete p\u0159idat do pou\u017e\u00edvan\u00e9 \u0161ablony. Pot\u00ed\u017e je v tom, \u017ee p\u0159\u00edli\u0161 mnoho widget\u016f m\u016f\u017ee zp\u016fsobit po\u0159\u00e1dn\u00fd zmatek, a pravd\u011bpodobn\u011b je ani v\u0161echny nepot\u0159ebujete. V tomto \u010dl\u00e1nku se do\u010dtete, jak necht\u011bn\u00e9 widgety elegantn\u011b zak\u00e1zat.<\/p>\n

Pro\u010d si mezi widgety uklidit?<\/h2>\n

Widgety jsou bloky prvk\u016f, kter\u00e9 lze um\u00edstit do bo\u010dn\u00edch panel\u016f (sidebar\u016f) a do k tomu ur\u010den\u00fdch \u010d\u00e1st\u00ed webu (widget ready areas). N\u011bkolik jich najdete ji\u017e v z\u00e1kladn\u00ed verzi WordPressu, dal\u0161\u00ed z\u00edsk\u00e1te spole\u010dn\u011b s n\u011bkter\u00fdmi pluginy. V\u0161echny dostupn\u00e9 widgety najdete v sekci Vzhled \u00bb Widgety.<\/p>\n

Pravd\u011bpodobn\u011b dojdete k z\u00e1v\u011bru, \u017ee n\u011bkter\u00e9 widgety nejsou moc praktick\u00e9, p\u0159\u00edpadn\u011b nepou\u017eiteln\u00e9 pro va\u0161e \u00fa\u010dely. A pokud nav\u00edc pou\u017e\u00edv\u00e1te v\u00edce plugin\u016f, kter\u00e9 si p\u0159id\u00e1vaj\u00ed v\u011bt\u0161\u00ed po\u010det vlastn\u00edch widget\u016f, brzy budete m\u00edt na obrazovce s jejich nab\u00eddkou po\u0159\u00e1dn\u00fd zmatek.<\/p>\n

Vyznat se ve zm\u011bti des\u00edtek widget\u016f je otravn\u00e9 a \u010dasov\u00e9 n\u00e1ro\u010dn\u00e9. Ale vy nic takov\u00e9ho nemus\u00edte podstupovat, proto\u017ee si ve widgetech ud\u011bl\u00e1te po\u0159\u00e1dek. Existuje jednoduch\u00fd zp\u016fsob, jak necht\u011bn\u00e9 widgety nechat zmizet.<\/p>\n

Jde se na v\u011bc<\/h2>\n

V prv\u00e9 \u0159ad\u011b si budete muset nainstalovat \u0161ikovn\u00fd plugin s n\u00e1zvem WP Widget Disable<\/a>. Po aktivaci se v\u00e1m v sekci Vzhled zobraz\u00ed nov\u00e1 polo\u017eka \u2013 Disable Widgets. Tam provedete nastaven\u00ed pluginu.<\/p>\n

\"\"<\/a><\/p>\n

Str\u00e1nka s nastaven\u00edm je rozd\u011blena do dvou z\u00e1lo\u017eek. V jedn\u00e9 najdete widgety ur\u010den\u00e9 do sidebaru, ve druh\u00e9 widgety pro n\u00e1st\u011bnku. Zak\u00e1z\u00e1n\u00ed widgetu je jednoduch\u00e9 \u2013 za\u0161krtnete podle vedle p\u0159\u00edslu\u0161n\u00e9ho widgetu a potvrd\u00edte tla\u010d\u00edtkem Ulo\u017eit zm\u011bny pod seznamem.<\/p>\n

\"\"<\/a><\/p>\n

Nyn\u00ed se m\u016f\u017eete pod\u00edvat na str\u00e1nku s nab\u00eddkou widget\u016f a uvid\u00edte rozd\u00edl. Respektive neuvid\u00edte widgety, kter\u00e9 jste zak\u00e1zali. P\u0159ipad\u00e1 v\u00e1m nyn\u00ed nab\u00eddka widget\u016f p\u0159ehledn\u011bj\u0161\u00ed? P\u0159esn\u011b to je \u00fa\u010del pluginu WP Widget Disable.<\/p>\n

\"\"<\/a><\/p>\n

WordPress zobrazuje tak\u00e9 n\u011bkter\u00e9 widgety na str\u00e1nce n\u00e1st\u011bnky. A dal\u0161\u00ed tam p\u0159ibudou spole\u010dn\u011b s pluginy, kter\u00e9 pou\u017e\u00edv\u00e1te. Chcete-li m\u00edt uklizenou i n\u00e1st\u011bnku, m\u016f\u017eete tak u\u010dinit p\u0159es Nastaven\u00ed zobrazen\u00fdch informac\u00ed (v prav\u00e9m horn\u00edm rohu, nalevo od N\u00e1pov\u011bdy). T\u00edm se v\u0161echny nepot\u0159ebn\u00e9 widgety skryj\u00ed, ale m\u016f\u017eete je kdykoliv vr\u00e1tit zp\u00e1tky stejn\u00fdm zp\u016fsobem. Pokud pou\u017eijete plugin WP Widget Disable, polo\u017eky z panelu Nastaven\u00ed zobrazen\u00fdch informac\u00ed zmiz\u00ed. T\u00edmto zp\u016fsobem si si m\u016f\u017eete vytvo\u0159it vlastn\u00ed nab\u00eddku widget\u016f, kter\u00e9 chcete na n\u00e1st\u011bnce m\u00edt.<\/p>\n

\"\"<\/a><\/p>\n

\"\"<\/a><\/p>\n

Plugin WP Widget Disable se mo\u017en\u00e1 na prvn\u00ed pohled jev\u00ed jako zbyte\u010dn\u00fd, ale pr\u00e1v\u011b d\u00edky n\u011bmu bude administrace va\u0161eho webu zase o n\u011bco p\u0159ehledn\u011bj\u0161\u00ed, co\u017e rozhodn\u011b nen\u00ed na \u0161kodu.<\/p>\n

P\u0159\u00ed\u0161t\u00ed t\u00fdden se spole\u010dn\u011b pod\u00edv\u00e1me na to, jak v administraci WordPressu uklidit je\u0161t\u011b v\u00edce \u2013 pomoc\u00ed dal\u0161\u00edho u\u017eite\u010dn\u00e9ho pluginu Adminimize.<\/p>\n","protected":false},"excerpt":{"rendered":"

Chcete na webu zak\u00e1zat nepou\u017e\u00edvan\u00e9 widgety? V p\u0159\u00edslu\u0161n\u00e9 sekci administrace najdete v\u0161echny widgety, kter\u00e9 m\u016f\u017eete p\u0159idat do pou\u017e\u00edvan\u00e9 \u0161ablony. Pot\u00ed\u017e je v tom, \u017ee p\u0159\u00edli\u0161 mnoho widget\u016f m\u016f\u017ee zp\u016fsobit po\u0159\u00e1dn\u00fd zmatek, a pravd\u011bpodobn\u011b je ani v\u0161echny nepot\u0159ebujete. V tomto \u010dl\u00e1nku se do\u010dtete, jak necht\u011bn\u00e9 widgety elegantn\u011b zak\u00e1zat. Pro\u010d si mezi widgety uklidit? Widgety jsou bloky<\/p>\n","protected":false},"author":1,"featured_media":4620,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[31],"tags":[538],"class_list":["post-4613","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-pluginy","tag-wp-widget-disable"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/4613"}],"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=4613"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/4613\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/4620"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=4613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=4613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=4613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}