{"id":2394,"date":"2015-05-04T04:19:26","date_gmt":"2015-05-04T04:19:26","guid":{"rendered":"http:\/\/musilda.cz\/?p=2394"},"modified":"2015-05-04T04:19:26","modified_gmt":"2015-05-04T04:19:26","slug":"co-znamena-excerot-neboli-strucny-vypis-prispevku","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/co-znamena-excerot-neboli-strucny-vypis-prispevku\/","title":{"rendered":"Co znamen\u00e1 excerpt neboli stru\u010dn\u00fd v\u00fdpis p\u0159\u00edsp\u011bvku"},"content":{"rendered":"
Excerpt je velmi pou\u017e\u00edvan\u00e1 funkce ve WordPress \u0161ablon\u00e1ch, ale ne v\u017edy se chov\u00e1 tak jak o\u010dek\u00e1v\u00e1me. Pro\u010d je tomu tak a jak\u00fd je rozd\u00edl mezi manu\u00e1ln\u00edm a automatick\u00fdm excerpt.<\/p>\n
Nejprve, co to je zkr\u00e1cen\u00fd v\u00fdpis, neboli excerpt.\u00a0<\/strong><\/p>\n S t\u00edm se setk\u00e1te v \u0161ablon\u00e1ch velmi \u010dasto a jedn\u00e1 se \u00faryvek textu, kter\u00fd je vytvo\u0159en z \u010d\u00e1sti hlavn\u00edho \u010dl\u00e1nu automaticky. Na druhou stranu m\u016f\u017eete excerpt vytvo\u0159it ru\u010dn\u011b a to vlo\u017een\u00edm textu do boxu „Stru\u010dn\u00fd v\u00fdpis p\u0159\u00edsp\u011bvku“.<\/p>\n Jak\u00fd je mezi nimi rozd\u00edl?<\/strong><\/p>\n Ru\u010dn\u011b vytvo\u0159en\u00fd excerpt vlo\u017e\u00edte p\u0159i vytv\u00e1\u0159en\u00ed \u010dl\u00e1nku, nebo jeho \u00faprav\u011b, do tohoto textov\u00e9ho pole:<\/p>\n