跳到内容

Better Adjacent Post Links

v1.1

unalignedcoder · 2007年9月19日 上架

Adds two enhanced commands to replace wordpress 'previous post' and 'next post' functions. Works with Wordpress 2.8+.

正在使用
80+
评分
暂无
累计下载
9,359
最近更新
2009年9月9日
需要 WordPress 2.0.2+已测试到 2.8.4

贡献者

If you are used to link the ‘previous’ and ‘next’ posts on a wordpress blog using their own title, you have probably noticed how more often than not too long titles can cause broken lines, hence unpredictable results in terms of page layout.

The only workaround in wordpress so far was to replace the title of the posts with generic phrases like ‘next post’, ‘previous post’ and so on. With this plugin you can use the title of the post itself, and trim it as needed.

Features:

  • limits the length of the previous and next post titles to the number of characters you want
  • where necessary, truncates the title to the last space, adding three dots
  • shows the entire title of the post in the tooltip (mysteriously wordpress never considers the tooltips of the links)
  • sets the string that conditionally will appear before the link title, only if the link title itself is present (previously in wordpress you either had to add a string outside of the ‘next/previous post’ tag, thus causing it to appear in the page even if the link was not present, or you had to add the string inside the link generated by wordpress, with ugly results: for example if the string was just a simple dividing character like ‘|’)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums