How do I remove page titles?
-
I have a couple of custom pages (e.g. About, Contact) that use the “default template”. How do I remove the page title that appears on the top in big bold letters? I’ve seen other posts that say to delete the h2 line in the page.php template but I don’t see an h2 line. Here’s the page.php html:
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ get_header(); ?> <div id="container"> <div id="content" role="main"> <?php /* Run the loop to output the page. * If you want to overload this in a child theme then include a file * called loop-page.php and that will be used instead. */ get_template_part( 'loop', 'page' ); ?> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar(); ?> <?php get_footer(); ?>
- The topic ‘How do I remove page titles?’ is closed to new replies.