コード例 #1
0
ファイル: single.php プロジェクト: jiangxianliang/gplus
<?php

if (!gplus_is_pjax()) {
    get_header();
    ?>
<div id="content">
<?php 
}
?>


	<?php 
the_post();
$options = gplus_get_options();
?>
	<article class="detail">
		<h2 class="title"><?php 
the_title();
?>
</h2>
		<p class="desc">
		<?php 
_e('date', 'gplus');
?>
: <?php 
the_time('Y-m-d');
?>
&nbsp;&nbsp;&nbsp;
		<?php 
if ($options['show_author']) {
    ?>
コード例 #2
0
ファイル: functions.php プロジェクト: jiangxianliang/gplus
function get_comment_se_key()
{
    $options = gplus_get_options();
    if ($options['comment_se_key']) {
        return $options['comment_se_key'];
    }
    return "welefen_gplus_theme";
}