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 » Header configuration & styling »

add page/post title to header site title.


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 Oct 20, 2011, 02:19 PM
aehageman
 
18 posts · Oct 2011
add page/post title to header site title.

I would like to add the page/post title to the header area.
example

currently this page

http://brooklynpeddler.com/4-tone-whistle

has this in the header
"
BrooklynPeddler.com

Fine railroad novelty items and other fun things including the best wooden train whistle made
"

I would like it to read
"
BrooklynPeddler.com 4 Tone Whistle

Fine railroad novelty items and other fun things including the best wooden train whistle made
"


4 Tone Whistle would be where the post/page title is replaced..
  #2  
Old Oct 20, 2011, 03:43 PM
juggledad's Avatar
juggledad
 
22,269 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
BrooklynPeddler.com is the blog title. If you want to replace that then you are going have to edit the php code in the module bfa_header_config.php

If you only want it of that page, you will have to add some logic to test fo the page and remember to keep good notes because the next time you upgrade the theme, you will have to do it again.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 20, 2011, 05:02 PM
aehageman
 
18 posts · Oct 2011
I do not want to change the blog title.
I want to add the post title/page title to the right of the blog title.

The post/page title is called on every post/page. It is put in the title tag, it appears at the top of the main content area, and I would like it to also appear to the right or underneath of the blog title.


You can see now that I put in the word "fred" where I want the post/page title.

What code do I need to call the post/page title?

http://brooklynpeddler.com/bandana-paint-kit
The post title is 'Engineer Bandana Paint Kit'
It is also in the page title.
What code put it there?

I know it is simple, I just can not find how it is put in the title tag or in the main content area..

thanks.
  #4  
Old Oct 20, 2011, 05:23 PM
juggledad's Avatar
juggledad
 
22,269 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Go read my last post. You will have to edit the theme code.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 20, 2011, 05:49 PM
aehageman
 
18 posts · Oct 2011
I read the last post.. I know where the code goes and how to put it there, just not what it is...

It should be pretty simple to cut and paste the code that creates/prints the title on the posts and pages, if I could find it.

What creates this code? specifically calling the post/page title.
<title>Engineer Bandana Paint Kit | BrooklynPeddler.com</title>

What creates this code?
<div class="post-headline"><h1>Engineer Bandana Paint Kit</h1></div>


If I knew this code, I could add that code to this where it says 'fred'!!?!?

. $homeURL . '/">'; bloginfo('name'); echo '</a>fred</h' . $bfa_ata['h_blogtitle'] . '>fred';


I have been reading and reading and can not figure it out.

Everything I have attempted so far has broken the site...
  #6  
Old Oct 20, 2011, 05:59 PM
aehageman
 
18 posts · Oct 2011
thank you for the help..


wp_title( '|', true, 'right' );



the complete code..

Atahualpa: bfa_header_config.php


found this
echo '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle"><a href="'
. $homeURL . '/">'; bloginfo('name'); echo '</a></h' . $bfa_ata['h_blogtitle'] . '>';
}


changed it to this..
echo '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle"><a href="'
. $homeURL . '/">'; bloginfo('name'); echo '</a>' . '<br />'
. wp_title( '', false, 'left' ); echo '</h' . $bfa_ata['h_blogtitle'] . '>';
}

Last edited by aehageman; Oct 20, 2011 at 06:22 PM.

Bookmarks

Tags
header title, page title, post title

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH 367-05: Site Title appended after the 'WordPress SEO by Yoast' title juggledad Old Version fixes and change logs 0 Jul 4, 2011 05:24 AM
Order site title, page title Quince Page & Category Menu Bars 1 Feb 4, 2011 10:32 PM
Show Post Title as Page Title patgeary Header configuration & styling 2 Mar 27, 2009 07:10 PM
Change color of post title only, not page title jockoe Atahualpa 3 Wordpress theme 1 Feb 26, 2009 06:14 PM


All times are GMT -6. The time now is 03:40 AM.


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