[wordpress插件] Delink Pages链接页面

wordpress 插件 文章 2020-04-15 02:51 553 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin will allow you to specify certain pages to not be linked when wp_list_pages() is used in a theme.

此插件将允许您指定在主题中使用 wp_list_pages()时不链接的某些页面。

You might want to do this if you want a header for a series of subpages, but don’t specifically want that header to be a real page itself.

如果您想要一系列子页面的标题,但又不希望该标题本身是真实页面,则可能需要这样做。

安装步骤

    1. Download plugin archive and expand it
    2. 下载插件存档并进行扩展

    3. Put scripty-delinkpage.php in your wp-content/plugins/ directory
    4. 将scripty-delinkpage.php放入wp-content / plugins /目录中

    5. Activate plugin through the ‘Plugins’ menu in WordPress
    6. 通过WordPress中的“插件”菜单激活插件

    7. To indicate that a page should not be linked when wp_list_pages() is used, edit the page that you do not want linked and create a custom field with a key of “delink” and value of

    8. 要指示在使用 wp_list_pages()时不应链接页面,请编辑不希望链接的页面,并使用键“ delink”和值来创建自定义字段。

      “true” (to have NO link at all) or “href” to change the it to link to #.

    9. “ true”(根本没有链接)或“ href”将其更改为链接到#。

下载地址
https://downloads.wordpress.org/plugin/delink-pages.zip
-EOF-

AI助手支持GPT4.0