Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #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!



    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>

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


    Awesome — thank you so much! :)


    Glad I could help :)


    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.


    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.