Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9842

    Is there a way to move the blog post side area with little banner and stats on comments, post category and author to appear below the post? I feel like using an entire sidebars worth of the page real estate is a waste of space just for that info and it appears that it’s not possible to use that same side below the stats area as the widgets sidebar.

    http://www.thisbluebird.com

    #66018

    Hey,

    yes but it requires a some css tweaking on your end (I can’t provide a complete solution) – open up includes/format-standard.php and search for following code:

    <div class="three units alpha blog-meta meta-color">

    <div class='post-format primary-background flag'>
    <span class='post-format-icon post-format-icon-<?php echo get_post_format(); ?>'></span>
    <span class='flag-diamond site-background'></span>
    </div>

    <div class='blog-inner-meta extralight-border'>

    <span class='post-meta-infos'>

    <?php
    if(comments_open() || get_comments_number())
    {
    echo "<span class='comment-container minor-meta'>";
    comments_popup_link(__('this entry has','avia_framework')." <span>0 ".__('Comments','avia_framework')."</span>",
    __('this entry has','avia_framework')." <span>1 ".__('Comment' ,'avia_framework')."</span>",
    __('this entry has','avia_framework')." <span>% ".__('Comments','avia_framework')."</span>",'comments-link',
    __('Comments Off' ,'avia_framework'));
    echo "</span><span class='text-sep'>/</span>";
    }

    ?>

    <?php
    $cats = get_the_category();

    if(!empty($cats))
    {
    echo '<span class="blog-categories minor-meta">'.__('in ','avia_framework');
    the_category(', ');
    echo ' </span><span class="text-sep">/</span> ';
    }

    $portfolio_cats = get_the_term_list( get_the_ID(), 'portfolio_entries', '', ', ','');

    if($portfolio_cats && !is_object($portfolio_cats))
    {
    echo '<span class="blog-categories minor-meta">'.__('in ','avia_framework');
    echo $portfolio_cats;
    echo ' </span><span class="text-sep">/</span> ';
    }

    echo '<span class="blog-author minor-meta">'.__('by ','avia_framework');
    the_author_posts_link();
    echo '</span>';

    ?>

    </span>

    </div>

    </div><!--end meta info-->

    Delete it. Then change “six units entry-content” to “nine units entry-content” and add following code after the_content():

    <div class='blog-inner-meta extralight-border'>

    <span class='post-meta-infos'>

    <?php
    if(comments_open() || get_comments_number())
    {
    echo "<span class='comment-container minor-meta'>";
    comments_popup_link(__('this entry has','avia_framework')." <span>0 ".__('Comments','avia_framework')."</span>",
    __('this entry has','avia_framework')." <span>1 ".__('Comment' ,'avia_framework')."</span>",
    __('this entry has','avia_framework')." <span>% ".__('Comments','avia_framework')."</span>",'comments-link',
    __('Comments Off' ,'avia_framework'));
    echo "</span><span class='text-sep'>/</span>";
    }

    ?>

    <?php
    $cats = get_the_category();

    if(!empty($cats))
    {
    echo '<span class="blog-categories minor-meta">'.__('in ','avia_framework');
    the_category(', ');
    echo ' </span><span class="text-sep">/</span> ';
    }

    $portfolio_cats = get_the_term_list( get_the_ID(), 'portfolio_entries', '', ', ','');

    if($portfolio_cats && !is_object($portfolio_cats))
    {
    echo '<span class="blog-categories minor-meta">'.__('in ','avia_framework');
    echo $portfolio_cats;
    echo ' </span><span class="text-sep">/</span> ';
    }

    echo '<span class="blog-author minor-meta">'.__('by ','avia_framework');
    the_author_posts_link();
    echo '</span>';

    ?>

    </span>

    </div>

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Move Blog Post Stats to Below Post’ is closed to new replies.