{"id":2392364,"date":"2011-11-10T16:48:40","date_gmt":"2011-11-10T16:48:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/function-referencewp-link-pages\/"},"modified":"2016-08-20T03:21:26","modified_gmt":"2016-08-20T03:21:26","slug":"function-referencewp-link-pages","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/function-referencewp-link-pages\/","title":{"rendered":"Function Reference\/previous post link"},"content":{"rendered":"<p>Hello,<\/p>\n<p>i have this:<\/p>\n<p><code>&lt;div class=&quot;nav-previous&quot;&gt;&lt;?php previous_post_link( &#039;%link&#039;, &#039;&amp;laquo; %title&#039; ) ?&gt;&lt;\/div&gt;<\/code><\/p>\n<p>I really like this! Accept when the title of the post is to long, it goes to the next line. Is it also possible to shorten the url when it gets longer than a certain amount of characters? (like: This is a very long pos&#8230;) <\/p>\n<p>because I can&#8217;t find anything about this in <a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/previous_post_link\">the codex of previous post link<\/a><\/p>\n","protected":false},"template":"","class_list":["post-2392364","topic","type-topic","status-closed","hentry","topic-tag-previous-post-link"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2392364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2392364\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2392364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}