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.
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".
#2
May 16, 2009, 07:58 PM
Flynn
3,768 posts · Oct 2008
Munich, Germany
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(); ?> <?php } ?>
#3
Jun 8, 2009, 09:02 PM
nickcee
27 posts · Feb 2009
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.
#4
Jun 11, 2009, 05:32 AM
Flynn
3,768 posts · Oct 2008
Munich, Germany
You would have to edit the theme file index.php for this
#5
Jun 11, 2009, 10:14 AM
fromtheranks
149 posts · Apr 2009
Dev Env't: XP Pro SP3, IIS 5.1, MySQL 5.1, PHP 5.2.x, WP 2.7.1, Atahualpa 3.3.3, IE 7, FF 3.0.x
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):