{"id":1120,"date":"2013-09-17T19:30:18","date_gmt":"2013-09-17T19:30:18","guid":{"rendered":"http:\/\/musilda.cz\/?p=1120"},"modified":"2013-09-17T19:30:18","modified_gmt":"2013-09-17T19:30:18","slug":"funkce-the_permalink","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/funkce-the_permalink\/","title":{"rendered":"Funkce the_permalink"},"content":{"rendered":"

Funkce the_permalink zobrazuje odkaz na aktu\u00e1ln\u00ed \u010dl\u00e1nek. M\u016f\u017ee b\u00fdt pou\u017eita pouze v loopu, proto\u017ee odkaz, kter\u00fd vytvo\u0159\u00ed se vztahuje k aktu\u00e1ln\u00edmu query. Pokud WordPress proch\u00e1z\u00ed nap\u0159\u00edklad kategorii, the_permalink zobraz\u00ed odkaz na ka\u017ed\u00fd \u010dl\u00e1nek toho aktu\u00e1ln\u00edho v\u00fdpisu. <\/p>\n

Pou\u017eit\u00ed:<\/p>\n

\n<a href="\">text odkazu<\/a>\n<\/pre>\n

Funkce nem\u00e1 \u017e\u00e1dn\u00e9 parametry a je hojn\u011b vyu\u017e\u00edvan\u00e1, jedn\u00e1 se o jednu z nejb\u011b\u017en\u011bj\u0161\u00edch funkc\u00ed v \u0161ablon\u011b.<\/p>\n","protected":false},"excerpt":{"rendered":"

Funkce the_permalink zobrazuje odkaz na aktu\u00e1ln\u00ed \u010dl\u00e1nek. M\u016f\u017ee b\u00fdt pou\u017eita pouze v loopu, proto\u017ee odkaz, kter\u00fd vytvo\u0159\u00ed se vztahuje k aktu\u00e1ln\u00edmu query. Pokud WordPress proch\u00e1z\u00ed nap\u0159\u00edklad kategorii, the_permalink zobraz\u00ed odkaz na ka\u017ed\u00fd \u010dl\u00e1nek toho aktu\u00e1ln\u00edho v\u00fdpisu.<\/p>\n","protected":false},"author":1,"featured_media":8523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[375],"class_list":["post-1120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-post-funkce","tag-the_permalink"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1120"}],"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=1120"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1120\/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=1120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=1120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=1120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}