{"id":1028,"date":"2013-08-21T04:06:01","date_gmt":"2013-08-21T04:06:01","guid":{"rendered":"http:\/\/musilda.cz\/?p=1028"},"modified":"2013-08-21T04:06:01","modified_gmt":"2013-08-21T04:06:01","slug":"funkce-get_archives_link","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/funkce-get_archives_link\/","title":{"rendered":"Funkce get_archives_link"},"content":{"rendered":"
Funkce get_archives_link() vrac\u00ed odkaz do ur\u010den\u00e9ho arch\u00edvu a to podle jedn\u00e9 za \u010dty\u0159 definovan\u00fdch mo\u017enost\u00ed. Odkaz m\u016f\u017eete zobrazit jako html odkaz, link pro head element, option polo\u017eku selectu a jako posledn\u00ed mo\u017enost, jej m\u016f\u017eete definovat jak budete cht\u00edt, pomoc\u00ed $before a $after.<\/p>\n
Pou\u017eit\u00ed:<\/p>\n
get_archives_link( $url, $text, $format, $before, $after );<\/pre>\nParametry:<\/p>\n
$url – povinn\u00fd parametr, url po\u017eadovan\u00e9ho arch\u00edvu<\/p>\n
$text – povinn\u00fd parametr, text popisu arch\u00edvu<\/p>\n
$format – form\u00e1t v\u00fdsledku, mo\u017enosti – link, html, options, custom. Defaultn\u00ed je html<\/p>\n
$before – znaky p\u0159ed linkem, nepovinn\u00fd<\/p>\n
$after – znaky za linkem, nepovinn\u00fd parametr<\/p>\n","protected":false},"excerpt":{"rendered":"
Funkce get_archives_link() vrac\u00ed odkaz do ur\u010den\u00e9ho arch\u00edvu a to podle jedn\u00e9 za \u010dty\u0159 definovan\u00fdch mo\u017enost\u00ed. Odkaz m\u016f\u017eete zobrazit jako html odkaz, link pro head element, option polo\u017eku selectu a jako posledn\u00ed mo\u017enost, jej m\u016f\u017eete definovat jak budete cht\u00edt, pomoc\u00ed $before a $after.<\/p>\n","protected":false},"author":1,"featured_media":8523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[7,22],"tags":[],"class_list":["post-1028","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codex","category-template-tags"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1028"}],"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=1028"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1028\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/8523"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=1028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=1028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=1028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}