예제 #1
0
<?php

/**
 * Template Name: bbPress - Statistics
 *
 * @package bbPress
 * @subpackage Theme
 */
// Get the statistics and extract them for later use in this template
// @todo - remove variable references
extract(bbp_get_statistics(), EXTR_SKIP);
get_header();
st_before_content($columns = '');
do_action('bbp_template_notices');
while (have_posts()) {
    the_post();
    ?>

	<div id="bbp-statistics" class="bbp-statistics">
		<h1 class="entry-title"><?php 
    the_title();
    ?>
</h1>
		<div class="entry-content">

			<?php 
    get_the_content() ? the_content() : _e('<p>Here are the statistics and popular topics of our forums.</p>', 'bbpress');
    ?>

			<dl role="main">
<?php

/**
 * Template Name: bbPress - Statistics
 *
 * @package bbPress
 * @subpackage Theme
 */
// Get the statistics and extract them for later use in this template
// @todo - remove variable references
extract(bbp_get_statistics(), EXTR_SKIP);
get_header();
st_before_content($columns);
do_action('bbp_template_notices');
while (have_posts()) {
    the_post();
    ?>

	<div id="bbp-statistics" class="bbp-statistics">
		<h1 class="entry-title"><?php 
    the_title();
    ?>
</h1>
		<div class="entry-content">

			<?php 
    get_the_content() ? the_content() : _e('<p>Here are the statistics and popular topics of our forums.</p>', 'bbpress');
    ?>

			<dl role="main">
예제 #3
0
<?php

/**
 * The template for displaying attachments.
 *
 * @package Skeleton WordPress Theme Framework
 * @subpackage skeleton
 * @author Simple Themes - www.simplethemes.com
 */
get_header();
st_before_content('sixteen');
/* Run the loop to output the attachment.
 * If you want to overload this in a child theme then include a file
 * called loop-attachment.php and that will be used instead.
 */
get_template_part('loop', 'attachment');
st_after_content();
// get_sidebar();
get_footer();