Remove Thematic Page Title (6 posts)

  1. Matt
    Posted 6 years ago #


    Please take a look here http://nib101.com/construct/print/

    I would like to remove the page title within the content and leave the menu title unchanged. Is this possible without affecting the post titles on the blog and if so how can i do it?

    I have looked on various sites and they all seem to point to the page.php but I can't find the correct code to edit.

    Please help!

    Much appreciated.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    If this is only for a specific page, you may want to create a custom page template. The code you need to remove is:

    <h1 class="entry-title"><?php the_title(); ?></h1>

  3. dot_matrix
    Posted 6 years ago #

    hey nib,
    you can remove it using a custom page template, but as i see you are using Thematic, there is an easier way, just using the dynamic classes that are built into thematic.

    in your main css style file...just add

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

    this will hide all titles from pages.
    and the titles for blog posts will remain.

    you can be more specific and just target certain pages
    body.slug-about .entry-title {display:none;}
    body.slug-web .entry-title {display:none;}

    hope this helps

  4. dot_matrix
    Posted 6 years ago #

    if you are still having problems email me

    also, i may have missed it, but you dont seem to have a contact email on your site.

  5. garyeb
    Posted 6 years ago #


    I tried adding "body.page .entry-title {display:none;}" to my style.css file in the child theme directory. No luck. I worked up the theme hierarchy to no avail (thematic and default). No luck. What do you mean by "main css style file"? The last file parsed should work, right? BTW, I have other entries in the child style.css that seem to work fine so WordPress is reaching the file.


    gary [at] velograf [dot] com

  6. Eduardo Zulian
    Posted 6 years ago #


    You can create a filter for it in your functions.php file:

    function remove_page_title( ){
    	$content = '';
    	return $content;
    add_filter( 'thematic_page_title', 'remove_page_title' );

Topic Closed

This topic has been closed to new replies.

About this Topic