cl01/wp-content/themes/CorePress/page-corepress.php
2025-02-24 12:39:24 +08:00

278 lines
14 KiB
PHP
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/*
Template Name: CorrPress主题页面
Template Post Type: post, page
*/
the_post();
?>
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>CorePress - 高颜值 高性能主题</title>
<meta name="keywords" content="CorePress,CorePress官方主题,CorePress最新版,wordpress主题,博客主题"/>
<meta name="description" content="CorePress主题发布页面CorePress是一款基于WordPress制作的一款主题适合多站点注重内容界面清爽干净功能强大。"/>
<?php
file_load_css('corepress/style.css');
global $set;
if ($set['routine']['favicon'] != null) {
?>
<link rel="icon" href="<?php echo $set['routine']['favicon'] ?>" type="image/x-icon"/>
<?php
}
?>
</head>
<body>
<header>
<div class="container">
<a href="/"><img src="https://www.lovestu.com/wp-content/uploads/2021/03/logo4.svg" alt="" class="logo"></a>
</div>
</header>
<div id="app">
<div class="plane-head-bac"
style="background-image: url('<?php echo file_get_img_url('corepress/corepressbanner.webp') ?>')">
<div class="plane-head container">
<div class="theme-info-left">
<p class="theme-subtitle">极致优化,专为极客</p>
<p class="theme-title">
CorePress 主题
<a href="https://github.com/ghboke/CorePressWPTheme" target="_blank"><img
src="https://img.shields.io/github/stars/ghboke/CorePressWPTheme.svg?style=social"
alt=""></a>
</p>
<p class="theme-description">
CorePress主题强大的WordPress定制主题体积小性能强功能多不可多得的一款高性能高颜值主题。
</p>
<div>
<?php
$post_content = get_the_content();
?>
<p class="version-info">
最新版本:<?php echo corepress_getSubstr($post_content, '[version]', '[/version]') ?>
更新日期:<?php echo format_date(get_post_time('U', false, $post)); ?> </p>
</div>
<div class="down-plane">
<div class="down-plane-item">
<a href="https://ghpym.lanzoui.com/b00znf9kd" target="_blank">
<button class="theme-btn btn-down">立即下载</button>
</a>
<a href="/" target="_blank">
<button class="theme-btn btn-danger">查看演示</button>
</a>
</div>
<div class="down-plane-item">
<a href="https://www.yuque.com/applek/corepress" target="_blank">
<button class="theme-btn theme-btn-default">文档</button>
</a>
<a href="https://github.com/ghboke/CorePressWPTheme" target="_blank">
<button class="theme-btn theme-btn-default">Github</button>
</a>
<a href="https://gitee.com/ghboke/corepress" target="_blank">
<button class="theme-btn theme-btn-default">Gitee</button>
</a>
<a href="https://support.qq.com/products/326735/" target="_blank">
<button class="theme-btn theme-btn-default">反馈</button>
</a>
</div>
</div>
</div>
<div class="theme-info-right">
</div>
</div>
</div>
<div class="container theme-func">
<p class="description-title-big">主题功能</p>
<div class="theme-js-plane">
<div>
<img src="<?php echo file_get_img_url('corepress/corepress_01.webp') ?>" alt="">
</div>
<div class="theme-js-text">
<p class="theme-js-text-title">现代化外观界面</p>
<p class="theme-js-description">作者手写前端代码,不依赖界面库,设计现代化,符合当前用户审美,清爽简约。</p>
</div>
</div>
<div class="theme-js-plane">
<div class="theme-js-text">
<p class="theme-js-text-title">丰富配置界面</p>
<p class="theme-js-description">可视化设置界面,可自定义功能超百项,满足个性化需求,友好提示,上手简单,使用方便。</p>
</div>
<div>
<img src="<?php echo file_get_img_url('corepress/corepress_02.webp') ?>" alt="">
</div>
</div>
<div class="theme-js-plane">
<div>
<img src="<?php echo file_get_img_url('corepress/corepress_03.webp') ?>" alt="">
</div>
<div class="theme-js-text">
<p class="theme-js-text-title">前端用户中心</p>
<p class="theme-js-description">内置用户中心修改用户信息登录注册皆在前端完成不进WordPress后台。</p>
</div>
</div>
<div class="theme-js-plane">
<div class="theme-js-text">
<p class="theme-js-text-title">丰富文章组件</p>
<p class="theme-js-description">代码高亮、密码可见、折叠面板、下载面板等多种丰富样式组件,丰富文章内容</p>
</div>
<div>
<img src="<?php echo file_get_img_url('corepress/corepress_04.webp') ?>" alt="">
</div>
</div>
</div>
<div class="theme-feature">
<div class="container">
<p class="description-title-big">主题特色</p>
<div class="theme-feature-plane">
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\tiji.svg'); ?>" alt="">
<p class="theme-feature-item-title">超小体积</p>
<p class="theme-feature-item-direction">体积只有2M不到代码精功能全颜值高兼容好</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\kj.svg'); ?>" alt="">
<p class="theme-feature-item-title">无框架设计</p>
<p class="theme-feature-item-direction">主题无前端界面库框架,代码为作者手撸,体积小,兼容好</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\sd.svg'); ?>" alt="">
<p class="theme-feature-item-title">大量优化功能</p>
<p class="theme-feature-item-direction">
深度优化WordPress干掉没有卵用的函数替换国内镜像让后台访问更快再也不用莫名其妙的等待好多秒了</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\xys.svg'); ?>" alt="">
<p class="theme-feature-item-title">响应式设计</p>
<p class="theme-feature-item-direction">主题采用响应式设计完美兼容PC端、手机端和平板等各类设备访问</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\gxhsz.svg'); ?>" alt="">
<p class="theme-feature-item-title">主题设置</p>
<p class="theme-feature-item-direction">主题提供可视化设置面板,可自定义配置百项</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\seo.svg'); ?>" alt="">
<p class="theme-feature-item-title">强大SEO</p>
<p class="theme-feature-item-direction">
自动截取描述单篇文章、页面SEO自定义、分类目录SEO</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\bjq.svg'); ?>" alt="">
<p class="theme-feature-item-title">编辑器增强</p>
<p class="theme-feature-item-direction">自带多种功能短代码,让文章撰写更方便。自带编辑器增强面板,方便快捷插入与编辑代码</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\xgj.svg'); ?>" alt="">
<p class="theme-feature-item-title">多个小工具</p>
<p class="theme-feature-item-direction">主题自带多种小工具,最新评论,作者信息,热门文章</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<img src="<?php echo file_get_img_url('corepress\yhzx.svg'); ?>" alt="">
<p class="theme-feature-item-title">前端用户中心</p>
<p class="theme-feature-item-direction">
开启用户中心接管WordPress自带登录页面注册页面找回密码页面同时自定义个人中心设置页面支持修改昵称签名修改密码绑定账号</p>
</div>
</div>
<div class="theme-feature-item">
<div class="theme-feature-body">
<div class="theme-feature-item">
<img src="<?php echo file_get_img_url('corepress\mk.svg'); ?>" alt="">
<p class="theme-feature-item-title">功能模块</p>
<p class="theme-feature-item-direction">防红模块禁止文章复制WordPress邮件配置图片灯箱无需安装多余插件即可实现</p>
</div>
</div>
</div>
</div>
</div>
<div class="container theme-version-plane">
<p class="description-title-big">更新日志</p>
<div class="theme-version-note-plane">
<?php
$note = corepress_getSubstr($post_content, '[new]', '[/new]');
print_r(do_shortcode($note));
?>
</div>
</div>
<div class="container">
<p class="description-title-big">更多信息</p>
<div class="theme-more-info">
<div class="theme-more-info-item">
<div class="theme-more-info-item-title">
<p>运行环境</p>
</div>
<div class="theme-more-info-item-body">
<p>WordPress 4+</p>
<p>PHP 5.6+兼容PHP 7/8推荐PHP 7+</p>
<p> MySQL 5.0+</p>
<p>推荐使用宝塔服务器面板</p>
</div>
</div>
</div>
<div class="theme-more-info">
<div class="theme-more-info-item">
<div class="theme-more-info-item-title">
<p>主题授权</p>
</div>
<div class="theme-more-info-item-body">
<p>Free版本免费使用并长期维护不过需要保留底部CorePress标识版权</p>
<p>Pro版本还在酝酿中</p>
</div>
</div>
</div>
<div class="theme-more-info">
<div class="theme-more-info-item">
<div class="theme-more-info-item-title">
<p>售后支持</p>
</div>
<div class="theme-more-info-item-body">
<p>免费主题,大部分问题可以通过阅读文档解决</p>
<p>有问题或者建议可以加群提问,或者在线反馈</p>
<p>修改底部版权,视为放弃一切技术支持,出问题自理</p>
</div>
</div>
</div>
</div>
</div>
<footer>
Copyright © 2021 <?php bloginfo('name'); ?>
<span class="theme-copyright"><a href="https://www.lovestu.com/corepress.html" target="_blank">CorePress</a>
<div class="footer-info">
<?php
global $set;
if ($set['routine']['icp'] != null) {
echo '<span class="footer-icp"><img class="ipc-icon" src="' . file_get_img_url('icp.svg') . '" alt=""><a href="https://beian.miit.gov.cn/" target="_blank">' . $set['routine']['icp'] . '</a></span>';
}
if ($set['routine']['police'] != null) {
echo '<span class="footer-icp"><img class="ipc-icon" src="' . file_get_img_url('police.svg') . '" alt=""><a href="http://www.beian.gov.cn/portal/registerSystemInfo/" target="_blank">' . $set['routine']['police'] . '</a></span>';
}
?>
</div>
</footer>
</div>
</body>
</html>