Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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?


  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>'); } ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
missing a closing ')' - fixed, try again
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #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 04:36 AM.


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