[wordpress插件] Category pagination fix类别分页修复

wordpress 插件 文章 2020-03-18 12:00 455 0 全屏看文

AI助手支持GPT4.0

评分
94
描述

Fixes the bug in WordPress 2.7 ( may be in lower version also) in category listing page pagination.

修复了类别列表页面分页中WordPress 2.7(可能也是较低版本)中的错误。

When you are using permalink structure as %category%/%postname% , second page URL of category listing page will be category-name/page/2 which WordPress identify “page” as post name.

当您将永久链接结构用作%category%/%postname%时,类别列表页面的第二页URL将是category-name / page / 2,WordPress将“ page”标识为帖子名称。

And will return 404 error page.

并会返回404错误页面。

This plug-in will fix the issue.

此插件将解决此问题。

This also fix the next and previous buttons bug in while using custom permalink structure.

这也修复了使用自定义永久链接结构时下一个和上一个按钮的错误。

Bug is still there in WordPress 3 too.

Bug仍然存在于WordPress 3中。

So I’m updated this one.

所以我更新了这个。

安装步骤

    1. Upload category-pagefix.php to the /wp-content/plugins/ directory
    2. category-pagefix.php 上载到 / wp-content / plugins / 目录

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

    5. You are done
    6. 您完成了

下载地址
https://downloads.wordpress.org/plugin/category-pagination-fix.zip
-EOF-

AI助手支持GPT4.0