[wordpress插件] Allow Numeric Slugs允许数值子弹

wordpress 插件 文章 2020-02-16 12:30 536 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Normally it is not possible to have a page slug (the page’s name in the URL) that is a number.

通常,页面上的数字(URL中的页面名称)是不可能的。

For example this will not work: yoursite.com/about/2/.

例如,这将不起作用: yoursite.com/about/2 /

That URL conflicts with paged content feature where you can posts and pages with multiple pages of content by adding within your content.

该URL与分页内容功能冲突,在分页内容功能中,您可以通过在内容中添加 <!-nextpage-> 来发布和发布具有多页内容的页面。

This plugin allows you to have pages with numbers as slugs by giving up the ability to have paged content pages which isn’t a big deal as most people don’t use paged content pages anyway.

通过该插件,您可以放弃拥有分页内容页面的功能,从而让您拥有编号为pages的页面,这并不重要,因为大多数人还是不会使用分页内容页面。

Code contributions and bug reports are welcome via this plugin's GitHub repository.

通过此插件的GitHub存储库欢迎

代码贡献和错误报告。

>

>

安装步骤

    1. Go to your admin area and select Plugins → Add New from the menu.
    2. 转到您的管理区域,然后从菜单中选择“插件”→“添加新项”。

    3. Search for “Allow Numeric Slugs”.
    4. 搜索“允许数字团”。

    5. Click install.
    6. 单击安装。

    7. Click activate.
    8. 单击激活。

下载地址

https://downloads.wordpress.org/plugin/allow-numeric-stubs.zip

https://downloads.wordpress.org/plugin/allow-numeric-stubs.zip

-EOF-

AI助手支持GPT4.0