{"id":1665,"date":"2014-03-19T20:27:02","date_gmt":"2014-03-19T20:27:02","guid":{"rendered":"http:\/\/musilda.cz\/?p=1665"},"modified":"2014-03-19T20:27:02","modified_gmt":"2014-03-19T20:27:02","slug":"funkce-previous_posts_link","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/funkce-previous_posts_link\/","title":{"rendered":"Funkce previous_posts_link"},"content":{"rendered":"
Dal\u0161\u00ed funkc\u00ed, kter\u00e1 je v Codexu uvedena jako post funkce, je previous _posts_link(). Na rozd\u00edl od next_posts_link, vrac\u00ed odkaz na \u010dl\u00e1nek, kter\u00fd je chronologicky p\u0159ed aktu\u00e1ln\u00edm \u010dl\u00e1nkem. Z\u00e1rove\u0148 funkce odkaz rovnou zobraz\u00ed, pokud pot\u0159ebujete php prom\u011bnnou, pou\u017eijte get_previous_posts_link.<\/p>\n
Stejn\u011b jako zmi\u0148ovan\u00e1 funkce next_posts_link, se d\u00e1 k vytvo\u0159en\u00ed jednoduch\u00e9 navigace, pro proch\u00e1zen\u00edm mezi \u010dl\u00e1nky.<\/p>\n
previous_posts_link( $label );<\/pre>\n$label – text odkazu, nap\u0159\u00edklad „P\u0159edchoz\u00ed \u010dl\u00e1nek“<\/p>\n","protected":false},"excerpt":{"rendered":"
Dal\u0161\u00ed funkc\u00ed, kter\u00e1 je v Codexu uvedena jako post funkce, je previous _posts_link(). Na rozd\u00edl od next_posts_link, vrac\u00ed odkaz na \u010dl\u00e1nek, kter\u00fd je chronologicky p\u0159ed aktu\u00e1ln\u00edm \u010dl\u00e1nkem. Z\u00e1rove\u0148 funkce odkaz rovnou zobraz\u00ed, pokud pot\u0159ebujete php prom\u011bnnou, pou\u017eijte get_previous_posts_link.<\/p>\n","protected":false},"author":1,"featured_media":8523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,15],"tags":[99],"class_list":["post-1665","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codex","category-post-funkce","tag-codex"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1665"}],"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=1665"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1665\/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=1665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=1665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=1665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}