If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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
<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.
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.
The topic ‘Remove meta from portfolio single page’ is closed to new replies.