I want post titles but not pages titles
ThemeShaper Forums » Thematic
How to remove page title without removing post titles?
(5 posts)-
Posted 2 years ago #
-
There's a similar post here. http://themeshaper.com/forums/topic/how-to-not-show-a-tab-page-title-on-the-page
Chris has resolved this.
.page .entry-title {display: none;}
Posted 2 years ago # -
using .page .entry-title {display: none;} isn't working as the page with my posts on still has the page class, it's a page template.
edit. Just realised that i can add any class i want to the page template and just turn the titles back on for that page.
Posted 2 years ago # -
Ok .. convinced :)
Will create something and post it to the SVN. But it won't be in 0.9.6.
Chris
Posted 2 years ago # -
i use this all the time, drop it in your functions.php...i think it's better doing it with a function rather than display:none.
function remove_title($posttitle) { if (is_page()) { return ''; } elseif (is_404()) { return ''; } else { return $posttitle; } } add_filter('thematic_postheader_posttitle', 'remove_title');Posted 2 years ago #
Reply
You must log in to post.