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 »

removing titles on each page


  #1  
Old May 15, 2009, 06:07 PM
nickcee
 
27 posts · Feb 2009
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  
Old May 16, 2009, 07:58 PM
Flynn's Avatar
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  
Old 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  
Old Jun 11, 2009, 05:32 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You would have to edit the theme file index.php for this
  #5  
Old 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):

http://forum.bytesforall.com/showthread.php?t=2002

Hope this helps.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Page titles in single pages with out removing post titles robertbrand Atahualpa 3 Wordpress theme 7 Jun 21, 2011 11:33 AM
Page Titles jtotally New Versions, & Updating 4 Jun 27, 2009 12:30 PM
How do I use TTF Titles Plugin on the widget titles? chavahn Sidebars & Widgets 0 Mar 5, 2009 11:05 AM
Removing Page Titles Velma Atahualpa 3 Wordpress theme 2 Feb 16, 2009 07:01 PM
Take Page Titles and Widget Titles for example... bseppa Sidebars & Widgets 0 Dec 12, 2008 08:44 PM


All times are GMT -6. The time now is 12:39 AM.


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