View Single Post
  #57  
Old October 3rd, 2014, 09:10 PM
rfrigge rfrigge is offline
 
Join Date: Sep 2014
Posts: 16
Default

Quote:
Originally Posted by cookingsoftwareau View Post
If you are using the Graphene theme there are two steps:

First, remove the title from the page as shown in the video.

Next edit the loop-page.php

Replace:

<?php /* Post title */ ?>
<h1 class="post-title entry-title">
<?php if ( get_the_title() == '' ) { _e( '(No title)', 'graphene' ); } else { the_title(); } ?>
<?php do_action( 'graphene_page_title' ); ?>
</h1>

with

<?php /* Post title */ ?>
<h1 class="post-title entry-title">
<?php if ( get_the_title() == '' ) { _e( '', 'graphene' ); } else { the_title(); } ?>
<?php do_action( 'graphene_page_title' ); ?>
</h1>


and all is good

Cheers Rowan
Indeed.. it's probably better to use <?php if(!is_dfr()): ?> instead of deleting the pagetitle, but this seems to be the right spot ! I was looking for 'page-title' but didn't work.. has to be "post title" in the loop-page.php for the graphene theme..

Last edited by rfrigge : October 3rd, 2014 at 09:13 PM.