Beispiel #1
0
function thinkup_input_postmeta()
{
    global $thinkup_post_date;
    global $thinkup_post_author;
    global $thinkup_post_comment;
    global $thinkup_post_category;
    global $thinkup_post_tag;
    global $thinkup_post_title;
    // Reset variable values to avoid php error
    $class_comment = NULL;
    if ($thinkup_post_date !== '1' or $thinkup_post_author !== '1' or $thinkup_post_comment !== '1' or $thinkup_post_category !== '1' or $thinkup_post_tag !== '1' or $thinkup_post_title !== '1') {
        // Only output for blog layout 1
        if ('0' != get_comments_number() and $thinkup_post_comment !== '1') {
            $class_comment = ' comment-icon';
        }
        echo '<header class="entry-header' . $class_comment . '">';
        if ($thinkup_post_title !== '1') {
            echo '<h3 class="post-title">' . get_the_title() . '</h3>';
        }
        echo '<div class="entry-meta">';
        if ($thinkup_post_date !== '1') {
            thinkup_input_blogdate();
        }
        if ($thinkup_post_author !== '1') {
            thinkup_input_blogauthor();
        }
        if ($thinkup_post_comment !== '1') {
            thinkup_input_blogcomment();
        }
        if ($thinkup_post_category !== '1') {
            thinkup_input_blogcategory();
        }
        if ($thinkup_post_tag !== '1') {
            thinkup_input_blogtag();
        }
        echo '</div>';
        echo '<div class="clearboth"></div></header><!-- .entry-header -->';
    }
}
Beispiel #2
0
function thinkup_input_postmeta()
{
    echo '<header class="entry-header entry-meta">';
    thinkup_input_blogdate();
    thinkup_input_blogauthor();
    thinkup_input_blogcomment();
    thinkup_input_blogcategory();
    thinkup_input_blogtag();
    echo '</header><!-- .entry-header -->';
}
?>

						<div class="entry-content">
							<?php 
the_excerpt();
?>

							<div class="entry-meta">
								<?php 
thinkup_input_blogauthor();
?>
								<?php 
thinkup_input_blogdate();
?>
								<?php 
thinkup_input_blogcomment();
?>
								<?php 
thinkup_input_blogcategory();
?>
								<?php 
thinkup_input_blogtag();
?>
							</div>
						</div>

					<div class="clearboth"></div>
					</article><!-- #post-<?php 
get_the_ID();
?>
 -->	
Beispiel #4
0
function thinkup_input_postmeta()
{
    global $thinkup_post_date;
    global $thinkup_post_author;
    global $thinkup_post_comment;
    global $thinkup_post_category;
    global $thinkup_post_tag;
    if ($thinkup_post_date !== '1' or $thinkup_post_author !== '1' or $thinkup_post_comment !== '1' or $thinkup_post_category !== '1' or $thinkup_post_tag !== '1') {
        echo '<header class="entry-header entry-meta">';
        if ($thinkup_post_author !== '1') {
            thinkup_input_blogauthor();
        }
        if ($thinkup_post_date !== '1') {
            thinkup_input_blogdate();
        }
        if ($thinkup_post_comment !== '1') {
            thinkup_input_blogcomment();
        }
        if ($thinkup_post_category !== '1') {
            thinkup_input_blogcategory();
        }
        if ($thinkup_post_tag !== '1') {
            thinkup_input_blogtag();
        }
        echo '</header><!-- .entry-header -->';
    }
}