[wordpress插件] Ambrosite Next/Previous Page Link PlusAmbrosite下一页/上一页链接增强

wordpress 插件 文章 2020-02-17 14:20 532 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

IMPORTANT: Make sure you are using the right plugin.

重要提示:请确保您使用的插件正确。

    • Next/Previous Page Link Plus is intended for use in page templates.
    • 下一页/上一页链接增强版旨在用于页面模板中。

    • Next/Previous Post Link Plus is intended for use in single post templates.
    • 下一个/上一个帖子链接加旨在用于单个帖子模板中。

    The two plugins have similar sounding, but different, function names.

    这两个插件听起来相似,但功能名称不同。

    If you mistakenly install the wrong plugin, you will get a “call to undefined function” error.

    如果错误地安装了错误的插件,则会收到“未定义函数的调用”错误。

    If you want to create next/previous links for your posts (including custom post types), please check out:

    如果要为帖子创建下一个/上一个链接(包括自定义帖子类型),请签出:

    https://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/

    https://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/

    This plugin creates two new template tags — next_page_link_plus and previous_page_link_plus — which may be used to generate next/previous navigation links for pages.

    此插件创建两个新的模板标签- next_page_link_plus previous_page_link_plus -可用于生成页面的下一个/上一个导航链接。

    The new tags include the following options:

    新标签包括以下选项:

      • Sort the next/previous page links on any column, including alphabetically, by date, and by menu_order.
      • 按日期,菜单和顺序对任何列上的下一页/上一页链接进行排序,包括按字母顺序排列。

      • Sort the next/previous links on custom fields (both string and integer sorts are supported).
      • 在自定义字段上排序下一个/上一个链接(支持字符串和整数排序)。

      • Loop around to the first page if there is no next page (and vice versa).
      • 如果没有下一页,则循环到第一页(反之亦然)。

      • Retrieve the first/last page, rather than the previousext page (for First|Previous|Next|Last navigation links).
      • 检索首页/最后一页,而不是上一页/下一页(用于“首页|上一页|下一页|最后一页”导航链接)。

      • Display the featured image alongside the links (WordPress 2.9 or higher).
      • 在链接旁边显示精选图片(WordPress 2.9或更高版本)。

      • Truncate the link titles to any length, and display custom text in the tooltip.
      • 将链接标题截短为任意长度,并在工具提示中显示自定义文本。

      • Display the title, date, author, and meta value of the next/previous links.
      • 显示下一个/上一个链接的标题,日期,作者和元值。

      • Specify a custom date format for the %date variable.
      • 为%date变量指定自定义日期格式。

      • Restrict next/previous links to same parent page, author, or custom field value.
      • 将下一个/上一个链接限制为同一父页面,作者或自定义字段值。

      • Exclude or include individual page IDs.
      • 排除或包括单个页面ID。

      • Return multiple next/previous links (e.g. the next N links, in an HTML list).
      • 返回多个下一个/上一个链接(例如,HTML列表中的下一个N个链接)。

      • Return the ID, title, date, href attribute, or post object of the next/previous links, instead of echoing them to the screen.
      • 返回下一个/上一个链接的ID,标题,日期,href属性或发布对象,而不是将它们回显到屏幕上。

      • Return false if no next/previous link is found, so themes may conditionally display alternate text.
      • 如果未找到下一个/上一个链接,则返回false,因此主题可以有条件地显示替代文本。

      Extensive documentation on configuring the plugin may be found here:

      可在此处找到有关配置插件的大量文档:

      http://www.ambrosite.com/pluginsext-previous-page-link-plus-for-wordpress

      http://www.ambrosite.com/pluginsext-previous-page-link-plus-for-wordpress

安装步骤

    • Upload ambrosite-page-link-plus.php to the /wp-content/plugins/ directory.
    • 将ambrosite-page-link-plus.php上传到/ wp-content / plugins /目录。

    • Activate the plugin through the Plugins menu in WordPress.
    • 通过WordPress中的“插件”菜单激活插件。

    • Edit your page template(s), and insert the next_page_link_plus and previous_page_link_plus template tags where you want your next/previous links to be displayed.

    • 编辑页面模板,然后在要显示下一个/上一个链接的位置插入next_page_link_plus和previous_page_link_plus模板标签。

      Configure them using parameters as explained in the online documentation:

      使用在线文档中所述的参数配置它们:

      http://www.ambrosite.com/pluginsext-previous-page-link-plus-for-wordpress

    • http://www.ambrosite.com/pluginsext-previous-page-link-plus-for-wordpress

下载地址
https://downloads.wordpress.org/plugin/ambrosite-nextprevious-page-link-plus.zip
-EOF-

AI助手支持GPT4.0