• Hello.

    I am new to wordpress, and am trying to figure out how to turn off the heading for certain pages. For example, on my Contact page, I don’t want the date, time and author to appear.

    Is there a plugin that lets you use different page.php files for different pages?

Viewing 1 replies (of 1 total)
  • You need to create a template page for your contact page. There may already be one in your themes folder. If not them open page.php and then SAVE AS contact.php.

    Add the following to the top of the page.

    <?php
    /*
    Template Name: Contact
    */
    ?>

    Now find and delete the following line of code.

    <div class="post-title"><em><?php the_author();?></em> on <?php the_time('d M Y h:i a'); ?></div>

    Now in your admin/dashboard edit the contact page and on the right hand side assign it the page template “Contact”.

    That should do it.

Viewing 1 replies (of 1 total)
  • The topic ‘Turning Title off for Certain Pages’ is closed to new replies.