1 Star 0 Fork 39

栗云峰_Aber / wordpress-theme-puock

forked from Licoy / wordpress-theme-puock 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.php 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
Licoy 提交于 2023-01-06 11:02 . :sparkles:增加全局顶部/底部区块模板
<?php get_header() ?>
<?php if (pk_get_option('index_mode') != 'company'): ?>
<div id="content" class="mt15 container">
<?php get_template_part('templates/box', 'global-top') ?>
<div class="row row-cols-1">
<div class="col-lg-<?php pk_hide_sidebar_out('12', '8') ?> col-md-12 <?php pk_open_box_animated('animated fadeInLeft') ?> ">
<?php if (isset($paged) && $paged <= 1): ?>
<div class="<?php pk_open_box_animated('animated fadeInLeft') ?>">
<?php get_template_part('templates/module', 'banners') ?>
</div>
<?php endif; ?>
<div class="<?php pk_open_box_animated('animated fadeInLeft') ?>
<?php echo pk_post_style_list() ? '' : 'pr-0 pl-0' ?>">
<div>
<?php get_template_part('templates/module', 'posts') ?>
</div>
</div>
</div>
<?php get_sidebar() ?>
</div>
<?php get_template_part('templates/module', 'cms') ?>
<?php get_template_part('templates/module', 'links') ?>
<?php get_template_part('templates/box', 'global-bottom') ?>
<?php dynamic_sidebar('index_bottom') ?>
</div>
<?php else: get_template_part('templates/page', 'company'); endif; ?>
<?php get_footer() ?>
PHP
1
https://gitee.com/suiyiding/wordpress-theme-puock.git
git@gitee.com:suiyiding/wordpress-theme-puock.git
suiyiding
wordpress-theme-puock
wordpress-theme-puock
master

搜索帮助