{"id":2490,"date":"2015-07-03T04:57:52","date_gmt":"2015-07-03T04:57:52","guid":{"rendered":"http:\/\/musilda.cz\/?p=2490"},"modified":"2015-07-03T04:57:52","modified_gmt":"2015-07-03T04:57:52","slug":"zobrazeni-shortcodu-primo-v-editoru-pomoci-pluginu-shortcake","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/zobrazeni-shortcodu-primo-v-editoru-pomoci-pluginu-shortcake\/","title":{"rendered":"Zobrazen\u00ed shortcod\u016f p\u0159\u00edmo v editoru pomoc\u00ed pluginu Shortcake"},"content":{"rendered":"\n
V p\u0159\u00edpad\u011b, \u017ee pou\u017e\u00edv\u00e1te shortcody, v\u00edte, \u017ee jejich nejv\u011bt\u0161\u00edm probl\u00e9mem je nep\u0159ehlednost. V editoru to po chv\u00edli vypad\u00e1 h\u016f\u0159e jak v html k\u00f3du. Plugin Shortcake toto um\u00ed elegantn\u011b vy\u0159e\u0161it.<\/p>\n\n\n\n
A\u0165 ji\u017e jste kod\u00e9r, program\u00e1tor, nebo u\u017eivatel, tak vyu\u017eit\u00ed pluginu v\u00e1m p\u0159inese p\u0159edev\u0161\u00edm v\u011bt\u0161\u00ed komfort p\u0159i pou\u017e\u00edv\u00e1n\u00ed shortcod\u016f v editoru.<\/p>\n\n\n\n
Vizu\u00e1ln\u00ed zobrazen\u00ed shortcod\u016f nen\u00ed nic nov\u00e9ho, zn\u00e1m\u00fdm pluginem je Visual Composer a \u0159ada pr\u00e9miov\u00fdch \u0161ablon obsahuje takzvan\u00e9 page buildery. V podstat\u011b nejdo o nic jin\u00e9ho, ne\u017e nahrazen\u00ed nehezk\u00e9ho z\u00e1pisu, elegantn\u00edm prvkem, pro lep\u0161\u00ed orientaci.<\/p>\n\n\n\n
V\u011bt\u0161ina t\u011bchto dopl\u0148k\u016f v\u0161ak vy\u017eaduje p\u0159epnout re\u017eim, z klasick\u00e9ho editoru, do editoru page builderu.<\/p>\n\n\n\n
Co\u017e u Shortcake nen\u00ed pot\u0159eba. N\u00e1sleduj\u00edc\u00ed dva screenshoty ukazuj\u00ed rozd\u00edl p\u0159i pou\u017eit\u00ed pluginu:<\/p>\n\n\n
Z\u00e1rove\u0148 plugin umo\u017e\u0148uje vytvo\u0159it p\u0159ehledn\u00e9 rozhran\u00ed pro nastaven\u00ed atribut\u016f pluginu<\/p>\n\n\n
Vypad\u00e1 to zaj\u00edmav\u011b, ne? Ur\u010dit\u011b v\u011bt\u0161\u00ed pohodl\u00ed, ne\u017e u norm\u00e1ln\u00edch shortcod\u016f. Nav\u00edc um\u00ed plugin p\u0159idat seznam shortcod\u016f do dialogu pro vkl\u00e1d\u00e1n\u00ed m\u00e9di\u00ed. Tam vytvo\u0159\u00ed dal\u0161\u00ed z\u00e1lo\u017eku a zobraz\u00ed seznam zaregistrovan\u00fdch shortcod\u016f.<\/p>\n\n\n
M\u00e1te aktivn\u00ed plugin a v\u0161echny shortcody vypadaj\u00ed st\u00e1le stejn\u011b?<\/p>\n\n\n\n
Plugin je toti\u017e n\u00e1stroj. Pokud v n\u011bm nejsou shortcody zaregistrov\u00e1ny, tak se nezobrazuj\u00ed. Tak\u017ee v\u00fdvoj\u00e1\u0159 v\u00e1m mus\u00ed nejprve tuto mo\u017enost nab\u00eddnout. A\u017e teprve pot\u00e9, vyu\u017eijete p\u0159ednosti pluginu.<\/p>\n\n\n\n
Jednodu\u0161\u0161\u00ed pr\u00e1ce se shortcody dokonce dostala tento plugin do diskuze v\u00fdvoj\u00e1\u0159\u016f j\u00e1dra WordPressu a je mo\u017en\u00e9, \u017ee se za n\u011bjakou dobu stane sou\u010d\u00e1st\u00ed p\u0159\u00edmo WordPressu, podobn\u011b jako jin\u00e9 pluginy.<\/p>\n\n\n\n
Ne\u017e se tak stane, maj\u00ed p\u0159ed sebou auto\u0159i pluginu je\u0161t\u011b jednu v\u00fdzvu. Plugin toti\u017e neum\u00ed zano\u0159en\u00e9 shortcody.<\/p>\n\n\n\n
[col]\n [button]\n[\/col]\n<\/pre>\n\n\n\n