Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   removing titles on each page (http://forum.bytesforall.com/showthread.php?t=1672)

nickcee May 15, 2009 05:07 PM

removing titles on each page
I've been using my own templates on some of the pages of my site. What I notice is that when I remove the title on a page the hyperlink in the nav bar also disappears. Is there away to prevent this? I prefer that the pages be without the title "visually speaking".

Flynn May 16, 2009 06:58 PM

Wrap the part in index.php or in your page template that displays the page heading into a conditional tag

PHP Code:

<?php if ( !is_page() ) ?>
<?php ?>

if ( !is_page() ) means "If this is not a static 'Page' page"

In Atahualpa 3.3.3 this would be, in index.php:

PHP Code:

<?php if ( !is_page() ) ?>
            <?php bfa_post_kicker(); ?>

            <?php bfa_post_headline(); ?>

            <?php bfa_post_byline(); ?>

nickcee Jun 8, 2009 08:02 PM

Where exactly would I find the area to enclose with this coding...could it be the headline or the byline? I've tried placing it in several different areas but have had no luck.

Flynn Jun 11, 2009 04:32 AM

You would have to edit the theme file index.php for this

fromtheranks Jun 11, 2009 09:14 AM

Perhaps I can be of some help. I figured this out last night. I wanted to remove the titles from just my archive and sitemap pages. Here is how I did it (after studying some of Flynn's earlier code and looking into "conditional tags" on the WordPress Codex):


Hope this helps.

All times are GMT -6. The time now is 06:31 PM.

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