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

    In the portfolio under the title I see this line:

    Posted in: “Category Name” May 25, 2011 Comments Off

    How do I remove this line all together? – I don’t want to show the date

    #46449

    Hey,

    open up single.php and replace:

    <div class="entry-head">
    <span class="categories"><?php _e('Posted in: ', 'avisio'); the_category(', '); echo $terms; ?></span><span class='limit'>-</span>
    <span class="date"><?php the_time('M d, Y') ?></span>
    <span class="comments"><?php comments_popup_link(__('No Comments','avisio'), __('1 Comment','avisio'), __('% Comments','avisio')); ?></span>
    </div>

    with:

    <?php if(get_post_type() != 'portfolio'){ ?>
    <div class="entry-head">
    <span class="categories"><?php _e('Posted in: ', 'avisio'); the_category(', '); echo $terms; ?></span><span class='limit'>-</span>
    <span class="date"><?php the_time('M d, Y') ?></span>
    <span class="comments"><?php comments_popup_link(__('No Comments','avisio'), __('1 Comment','avisio'), __('% Comments','avisio')); ?></span>
    </div>

    <?php } ?>

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

The topic ‘"Posted in"’ is closed to new replies.