1 Star 0 Fork 0

闲闲 / scratch for wordpress

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
page-my-scratch.php 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
lsq 提交于 2021-06-25 04:35 . scratch for wordpress
<?php
/**
* Template Name: 我的作品
*/
get_header();?>
<link rel="stylesheet" href="<?php echo content_url().'/plugins/kc-scratch/asset/style.css';?>" type="text/css" media="all" />
<style>
body{
background:#f4f4f4 !important;
}
.user-post{
background:#ffffff;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0,0,0,.05);
}
.active{
color:<?php echo wpjam_theme_get_setting('theme_color') ?: '#f16b6f';?>;
font-weight:bolb;
border-bottom:2px solid <?php echo wpjam_theme_get_setting('theme_color') ?: '#f16b6f';?>;
}
.modal{
max-width:10000px;
background:rgba(255, 255, 255, 0);
padding:0;
text-align:left;
}
h3{
font-size:1.1em;
display:none;
}
#nav-scratch{
display:block;
width:100%;
border-bottom:1px solid #eeeeee;
}
#nav-scratch li{
display:inline-block;
padding:5px 10px;
font-size:1.2em;
cursor:pointer;
}
#published-scratch{
}
#draft-scratch{
display:none;
}
</style>
<div id="content" class="site-content">
<div class="container">
<div class="row">
<div id="primary" class="col-md-12 content-area">
<main id="main" class="site-main">
<article>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
<div class="entry-content">
<?php while( have_posts() ): the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
</div>
</article>
</main>
</div>
</div>
</div>
</div>
<?php get_footer();?>
PHP
1
https://gitee.com/poqiu/scratch-for-wordpress.git
git@gitee.com:poqiu/scratch-for-wordpress.git
poqiu
scratch-for-wordpress
scratch for wordpress
master

搜索帮助