コード例 #1
0
ファイル: tag.php プロジェクト: diductio/D
    $tag_posts = get_posts($args);
}
?>

	<section id="primary" class="content-area">
		<div id="statistic" class="hentry">
			<div class="stat-col">
				<span class="label label-success label-soft">Массивы</span>
				<span class="label label-success"><?php 
echo $post_count;
?>
</span>
			</div>
			<?php 
if (function_exists('getSubsriberView')) {
    echo getSubsriberView('tag');
}
?>
		</div>
		<main id="main" class="site-main" role="main">

		<?php 
if (have_posts()) {
    ?>
			
			<article class='hentry'>
				<header class="entry-header">
					<?php 
    the_archive_title('<h1 class="entry-title">', '</h1>');
    // echo "<span class='label label-success label-soft'>Массивов &nbsp;</span>";
    // echo "<span class='label label-success label-number'>". $wp_the_query->post_count."</span>";
コード例 #2
0
ファイル: archive.php プロジェクト: diductio/D
 */
get_header();
$cat_id = get_query_var('cat');
?>
	<section id="primary" class="content-area">
		<div id="statistic" class="hentry">
			<div class="stat-col">
				<span class="label label-success label-soft">Массивы</span>
				<span class="label label-success"><?php 
echo get_category($cat_id)->category_count;
?>
</span>
			</div>
			<?php 
if (function_exists('getSubsriberView')) {
    echo getSubsriberView('category');
}
?>
		</div>
		<main id="main" class="site-main" role="main">
		<?php 
if (have_posts()) {
    ?>

			<header class="page-header">
				<?php 
    the_archive_title('<h1 class="entry-title">', '</h1>');
    // echo "<span class='label label-success label-soft'>Массивов &nbsp;</span>";
    // echo "<span class='label label-success label-number'>". get_category($cat_id)->category_count."</span>";
    the_archive_description('<div class="taxonomy-description">', '</div>');
    ?>
コード例 #3
0
ファイル: author.php プロジェクト: diductio/D
					<span class="label label-important label-important-soft">Уровень</span>
					<span class="label label-important">< ?=$st->get_rating('local',$user_id);? > %</span>
					</div>*/
?>
			<div class="stat-col" style="margin-right: 11px;">
					<span class="label label-important label-important-soft">Прогресс</span>
					<span class="label label-important">
					<?php 
echo 0;
?>
 
					%</span>
			</div>
			<?php 
if (function_exists('getSubsriberView')) {
    echo getSubsriberView('author');
}
?>
		</div> 
	</div>
		<main id="main" class="site-main" role="main">
			<header class="page-header" id="author-page">
				<div  class="avatar inline "><?php 
echo get_avatar($author_info->user_email, 96);
?>
</div>		
				<div class="inline" style="margin-left:20px;"> 
					<h1 class="entry-title"><?php 
print_r($author_info->data->display_name);
?>
</h1>