Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6150

    Hello there! I’m using Avisio and would like to remove the entire meta-box from underneath the title on the single portfolio theme…but leave it on the blog page. I can’t find it in the CSS to add “display: none”, as was suggested for another theme…can you tell me how to do it on Avisio? Thanks!

    #53054

    Hey,

    in your single.php you can remove

    <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>

    Keep in mind other pages that use the single.php file will also be changed. However, it doesn’t affect the blog page.

    #53055

    Awesome — thank you so much! :)

    #53056

    Glad I could help :)

    #53057

    If you create a copy of single.php called single-portfolio.php, and then remove those lines from that file it will only effect the portfolio pages. No other work is required, as WordPress will automatically use that template file if it exists.

    #53058

    Thanks FreewayProj. for this hint :)

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

The topic ‘Remove meta from portfolio single page’ is closed to new replies.