[wordpress插件] Category Page Extender分类页面扩展器

wordpress 插件 文章 2020-03-18 11:50 571 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin builds on the Category Page plugin making it possible to automatically insert posts into pages and subpages based on categories.

此插件建立在“类别页面”插件的基础上,可以根据类别自动将帖子插入页面和子页面。

You must have a current version of Category Page installed in order to function.

您必须具有类别页面的当前版本才能运行。

.


Visit plugin page here

访问插件页面此处

Usage

用法

To view complete instructions read here

要查看完整的说明,请在此处阅读

Open up page.php in your template folder (you may also set up a seperate a Page Template)

在您的模板文件夹中打开page.php(您也可以设置单独的页面模板)

For the most basic setup, insert the following below the loop statement in the page.php file:

对于最基本的设置,在page.php文件中的循环语句下面插入以下内容:

ID);} ?>

 <?php if(function_exists(page2cat_pages)){page2cat_pages($ post-> ID);}?> 

I recommend you wrap the function in your standard post class.

我建议您将函数包装在标准post类中。

For example:

例如:

 

ID);} ?>

<?php if(function_exists(page2cat_pages)){page2cat_pages($ post-> ID);}?>

Plugin Options

插件选项

ID, posts per page, number of pages);} ?>

  <?php if(function_exists(page2cat_pages)){page2cat_pages($ post-> ID,每页帖子数,页数);}?> 

Posts per page: (default = 10) set to 0 to show all

每页的帖子数:(默认= 10)设置为0以显示全部

This sets the number of posts to show at one time on the page.

这样可以设置一次在页面上显示的帖子数。

Number of pages: (default = 15) set to 0 to show all

页数:(默认= 15)设置为0以显示全部

This tells how many page numbers to show at a time on the page navigation bar.

告诉您一次在页面导航栏上显示多少个页码。

Example of Category Page Extender with variables:

带有变量的“类别页面扩展器”示例:

ID, 5, 10);} ?>

 <?php if(function_exists(page2cat_pages)){page2cat_pages($ post-> ID,5,10);}?> 

This will list 5 posts and up to 10 page numbers at a time on the page navigation bar.

这将在页面导航栏上一次列出5个帖子和最多10个页码。

Plugin Homepage

插件主页

安装步骤

***Requires a current installation of Category Page: https://wordpress.org/extend/plugins/page2cat/

***需要当前安装的类别页面:https://wordpress.org/extend/plugins/page2cat/

    1. Download the plugin Zip archive.
    2. 下载插件Zip存档。

    3. Upload Category Page Extender folder to your /wp-content/plugins/ directory
    4. Category Page Extender 文件夹上传到您的 / wp-content / plugins / 目录

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

    7. Setup some relationship between Categories and Pages using the Category Page plugin
    8. 使用“类别页面”插件在类别和页面之间建立一些关系

    9. Tweak page.php in your theme folder (please read here to learn how

    10. 在主题文件夹中调整 page.php (请在此处阅读以了解如何

      ).

    11. )。

    12. Enjoy!
    13. 享受!

下载地址
https://downloads.wordpress.org/plugin/category-page-extender.1.0.3.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Admin Form Framework管理表格框架
[wordpress插件] ContentQube Feed PluginContentQube Feed插件
[wordpress插件] Debugly调试地
[wordpress插件] BanTheHackers Support BadgeBanTheHackers支持徽章
[wordpress插件] Cachify快取
随便看看
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793