Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

How to Remove Page Title in Page Body


  #1  
Old Apr 19, 2009, 03:32 PM
davidferris
 
3 posts · Apr 2009
How to Remove Page Title in Page Body

Hi there,

First, I love the theme and made a $50 donation a few weeks ago. Now that I'm perusing the Forum I realize that you might not have linked the donation with my name. How do I do that?

Now, the question: I want to remove the page title from the body of my pages. I've cruised all over the Theme Options but can't see how to do this. How can it be done?

Site is at:
http://theferrisfiles.com

Thanks,

David
  #2  
Old Apr 20, 2009, 10:54 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Thank you for your donation, David. I added it to your user name.

To remove the page title edit index.php and replace

PHP Code:
         <!-- Post Headline -->                    
        <div class="post-headline">    
        <h2><?php 
        
if( !is_single() AND !is_page() ) { ?>
            <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php 
            
if (function_exists('the_title_attribute')) { 
                
the_title_attribute();
            } 
            elseif (
function_exists('the_title')) { 
                
the_title();
            } 
?>"><?php 
        
the_title(); 
        if( !
is_single() AND !is_page() ) { ?>
            </a><?php 
        
?>
        </h2>
        </div>


with

PHP Code:
<?php if ( !is_page() ) { ?>
        <!-- Post Headline -->                    
        <div class="post-headline">    
        <h2><?php 
        
if( !is_single() AND !is_page() ) { ?>
            <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php 
            
if (function_exists('the_title_attribute')) { 
                
the_title_attribute();
            } 
            elseif (
function_exists('the_title')) { 
                
the_title();
            } 
?>"><?php 
        
the_title(); 
        if( !
is_single() AND !is_page() ) { ?>
            </a><?php 
        
?>
        </h2>
        </div>
<?php ?>

  #3  
Old Apr 23, 2009, 02:14 PM
d_random
 
51 posts · Apr 2009
This worked perfectly, thanks Flynn!!
  #4  
Old Apr 25, 2009, 06:50 AM
krystyna
 
121 posts · Apr 2009
I did this and it worked BUT I think I'd prefer to have the page title removed from just the static home page.

URL is http://www.sangabrielmission.net

Thanks!
  #5  
Old Apr 25, 2009, 09:43 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Then use

PHP Code:
<?php if ( !is_front_page() ) { ?>
        <!-- Post Headline -->                    
        <div class="post-headline">    
        <h2><?php 
        
if( !is_single() AND !is_page() ) { ?>
            <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php 
            
if (function_exists('the_title_attribute')) { 
                
the_title_attribute();
            } 
            elseif (
function_exists('the_title')) { 
                
the_title();
            } 
?>"><?php 
        
the_title(); 
        if( !
is_single() AND !is_page() ) { ?>
            </a><?php 
        
?>
        </h2>
        </div>
<?php ?>
  #6  
Old Apr 27, 2009, 01:40 PM
davidferris
 
3 posts · Apr 2009
Worked perfectly, Flynn, thanks!
  #7  
Old May 11, 2009, 10:06 AM
pctechb
 
7 posts · Apr 2009
Did this change in 3.33? I need to remove the title in the Pages only.

I somehome managed to do it in 3.32, but I can't recall how.
  #8  
Old May 11, 2009, 03:51 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Shouldn't be different. It looks different from 3.3.4 on
  #9  
Old Jul 26, 2009, 01:37 PM
jack96161's Avatar
jack96161
 
66 posts · May 2009
Hi,

I too want to remove page titles from page bodies, but trying to follow the advice given here, I feel a bit foolish because I can't find any of the code that needs to be replaced in the index.php file for Atahualpa 3.3.3 -- has something major been changed since this question was answered?

Jack
  #10  
Old Jul 26, 2009, 04:46 PM
jack96161's Avatar
jack96161
 
66 posts · May 2009
OK, in addition to foolish, I now feel stupid -- I failed to carefully read ALL of this thread. Post #12 answered this question - and it works! Sorry and thanks...

Jack
  #11  
Old Jul 29, 2009, 10:46 AM
bobskinner
 
1 posts · Jul 2009
Please forgive me if I am missing something.

I just installed Wordpress yesterday and this amazing theme. I have read this thread but have been unable to find the text to replace in my Wordpress admin area to remove titles from all my pages and posts. I looked in: Appearance > Editor at index.php but there is nothing that resembles the above code.

Is there a different way to remove all titles in Atahualpa v3.4.1?

Thank you in advance for any assistance in this regard.

Bob
  #12  
Old Aug 20, 2009, 01:16 PM
Gnopps
 
3 posts · Aug 2009
I am just starting with this great, great theme but can't find how to change it either. There is nothing of that code in index.php, so it must have been changed.

So how do I go about removing titles from all static pages in version 3.4.1?

Thank you for your help!

Edit:

I found it has been moved now. The needed code can be found in Options->Style & Edit Center Column

Last edited by Gnopps; Aug 20, 2009 at 01:26 PM. Reason: Found solution
  #13  
Old Aug 21, 2009, 02:53 AM
mkhobson
 
26 posts · Aug 2009
Oregon City, OR
OK, I'm trying to implement some of the suggestions here and am running into a brick wall. On my site, I want headers to appear on one page only - the journal page. I went to the "Style and Edit Center Column" tab and under "The Loop" code I cobbled this together:

<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>

<?php if ( is_page('journal') ) { ?>
<?php bfa_post_kicker(); ?>
<?php bfa_post_headline(); ?>
<?php bfa_post_byline(); ?>
<?php } else { ?>
<?php bfa_post_kicker(); ?>
<?php bfa_post_byline(); ?>
<?php } ?>

<?php bfa_post_bodycopy ... etc, etc.


I'm saying if the page is 'journal', then show all three, else show only 2 ... (sans header) ... right? Obviously I'm pretty weak at the PHP. Help!

Thanks,
Mary

Bookmarks

Tags
pages

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 3.4: Confused: body title versus meta title jankph Atahualpa 3 Wordpress theme 0 Jul 12, 2009 04:30 AM
How do I change the Font color and bullets for the Page title in the Page Widget chrysos Page & Category Menu Bars 2 May 31, 2009 07:15 PM
Remove link for main page in page menu Charlotte Page & Category Menu Bars 11 Apr 1, 2009 12:13 PM
Keep the name on the Page Menu Bar, remove the name on the page jockoe Page & Category Menu Bars 5 Mar 23, 2009 11:02 PM
Page Title different Page Menu Bar Listing Shepherd Jim Page & Category Menu Bars 0 Mar 10, 2009 11:25 PM


All times are GMT -6. The time now is 11:45 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.