Tagged: Blog, header, Header Settings
Hi,
I ´ve tried everything, but it is not possible for me to hide the header on my blog posts. Selecting “don´t display the header” from the header settings doesn´t change anything. On every other pages it works.
Do you have any idea whats going on?
Btw. I´ve found a little bug: There is a blanc space missing in the blog tags minor meta section. How can I correct this?
See screen: https://dl.dropboxusercontent.com/u/4098960/missing-space.png
Thanks for your help!
Nic
We’ll fix both issues in the next version. For now:
1) Open up single.php and replace:
echo avia_title(array('title' => $title, 'link' => $t_link, 'subtitle' => $t_sub));
with:
if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title(array('title' => $title, 'link' => $t_link, 'subtitle' => $t_sub));
2) In includes/loop-index.php replace:
echo the_tags('<strong>'.__('Tags:','avia_framework').'</strong><span>')." ";
with:
echo the_tags('<strong>'.__('Tags:','avia_framework').'</strong><span> ');
Thanks Dude – works like a charm!
Hey!
Great :)
Regards,
Peter
I have this problem too. While the above solution works for single posts, it doesn’t work for the blog PAGE (all page templates, like grid, author etc)
How to solve the header issue for the blog main page?
Hi Spiv,
You should be able to set that on the specific page the blog loads into. So whatever page you’ve designated to show the blog, you can set it there.
Regards,
Devin
It’s this what’s not working. It does work for the blog posts.