Esempio n. 1
0
<?php

/**
 * The template for displaying posts in the Image post format
 *
 * Used for both single and index/archive/search.
 *
 * @package WordPress
 * @subpackage chairman_Themes
 * @since Huge Shop 1.0
 */
$chairman_opt = get_option('chairman_opt');
$chairman_postthumb = Chairman::chairman_post_thumbnail_size('');
if (Chairman::chairman_post_odd_event() == 1) {
    $chairman_postclass = 'even';
} else {
    $chairman_postclass = 'odd';
}
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class($chairman_postclass);
?>
>
	<header class="entry-header">
		<?php 
if (is_single()) {
    ?>
			<span class="post-cateogy">