ThemeShaper Forums » Thematic

[closed]

How to remove page title without removing post titles?

(5 posts)
  • Started 9 years ago by neonWired
  • Latest reply from Jamie Mitchell
  • This topic is resolved
  1. neonWired
    Member

    I want post titles but not pages titles

    Posted 9 years ago #
  2. yahyaayob
    Member

    There's a similar post here. http://forums.themeshaper.com/topic/how-to-not-show-a-tab-page-title-on-the-page

    Chris has resolved this.

    .page .entry-title {display: none;}

    Posted 9 years ago #
  3. neonWired
    Member

    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 9 years ago #
  4. Ok .. convinced :)

    Will create something and post it to the SVN. But it won't be in 0.9.6.

    Chris

    Posted 9 years ago #
  5. Jamie Mitchell
    Member

    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 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.