Ai
1 Star 10 Fork 6

秋天不回来/wordpress Readpress theme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
category.php 996 Bytes
一键复制 编辑 原始数据 按行查看 历史
muchenkezhan 提交于 2022-04-03 22:18 +08:00 . “1.2更新”
<?php
/**
* ReadPress是一个优秀的主题,回归纯粹的博客,文艺、阅读、写作、摄影、展示wordpress主题
* Gitee:https://gitee.com/MUCEO/readpress/
* 作者唯一QQ:858896214 (秋知德雨)
* QQ交流群:917367358
* 开发者不易,感谢支持,如果使用本主题尽量留个版权或者链接
*/
?>
<?php
if (! defined('ABSPATH')) {
exit;
}
global $wp_query;
$cat_ID = get_query_var('cat');
$flkgg=get_term_meta($cat_ID,'_prefix_taxonomy_options',true);
if($flkgg['rp-category-module'] == 'rp-1'){
include(TEMPLATEPATH . '/category/category-cg-img.php');
}elseif($flkgg['rp-category-module'] == 'rp-2'){
include(TEMPLATEPATH . '/category/category-tw.php');
}elseif($flkgg['rp-category-module'] == 'rp-3'){
include(TEMPLATEPATH . '/category/category-img.php');
}elseif($flkgg['rp-category-module'] == 'rp-5'){
include(TEMPLATEPATH . '/category/category-blog.php');
}else{
include(TEMPLATEPATH . '/category/category-skp.php');
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/MUCEO/readpress.git
git@gitee.com:MUCEO/readpress.git
MUCEO
readpress
wordpress Readpress theme
master

搜索帮助