Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] How to hide page's names from every page?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 28, 2010, 04:32 PM
buonumore
 
4 posts · Feb 2010
Lugano (TI) Switzerland
Hello everyone!

I found the answer to my question in this thread:
http://forum.bytesforall.com/showthr...es+titles+body

But still have a question: where do I have to replace the PHP code that Flynn indicates (post 2, point 3):

PHP Code:
<?php 
if (!is_page()) { ?>
        <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 ?>
I'm using Atahualpa 3.4.6.

I've searched in the Atahualpa theme options, but couldn't find such an option. I suppose I have to work in the CSS or a file... but don't know which/where!

Thanks a lot for your help!
  #2  
Old Mar 2, 2010, 01:44 AM
buonumore
 
4 posts · Feb 2010
Lugano (TI) Switzerland
Someone from the forum's team stated as "SOLVED" this case, but finally it's not!

As you've seen, I've searched (and probably found) the possible solution, but don't really know where I should add this code!

Could someone be so kind to give me this hint, before closing again my thread, please??

THANK YOU VERY MUCH!
  #3  
Old Mar 2, 2010, 05:08 AM
juggledad's Avatar
juggledad
 
20,010 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
it's much easier since 3.4.x
go to ATO->Style & edit CENTER COLUMN->The LOOP and change the line
HTML Code:
<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
to
HTML Code:
<?php if (!is_page() ) { bfa_post_headline('<div class="post-headline">','</div>'); } ?>

Last edited by juggledad; Mar 2, 2010 at 07:30 AM.
  #4  
Old Mar 2, 2010, 07:20 AM
buonumore
 
4 posts · Feb 2010
Lugano (TI) Switzerland
Thanks for your time, juggledad, but if I replace the original line with yours, I do not only remove titles, but... EVERYTHING!!

...is there a little mistake in your code??
  #5  
Old Mar 2, 2010, 07:31 AM
juggledad's Avatar
juggledad
 
20,010 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
missing a closing ')' - fixed, try again
  #6  
Old Mar 2, 2010, 07:43 AM
buonumore
 
4 posts · Feb 2010
Lugano (TI) Switzerland
It works now, thank YOU very very much!!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Hide certain categories from main page? bobdobolina Center area post/pages 12 Aug 26, 2010 01:39 PM
[SOLVED] How to hide all tags on every page? dougc Center area post/pages 2 Feb 9, 2010 03:01 PM
Need to Increase Spacing Between Page Names in Menu Bar edvandyke Header configuration & styling 1 Oct 12, 2009 02:16 PM
[SOLVED] How to hide page titles on the home page Tim F Post-Kicker, -Byline & -Footer 1 Aug 22, 2009 04:18 AM
real page names matty5490 Atahualpa 3 Wordpress theme 4 Feb 4, 2009 03:27 PM


All times are GMT -6. The time now is 05:34 PM.


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