Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Making the tagline logo area read page title (http://forum.bytesforall.com/showthread.php?t=2679)

maguai Jul 27, 2009 01:13 PM

Making the tagline logo area read page title
 
Is there a way to make the %logo% area with tagline appear to be the page body title instead and then use it as a link. I use it for SEO purposes.
I am using Atahualpa 3.4.1. Here is the tricky part. My permalink is a different name from the title and I don't want the name for the permalink. Also page title is different from the body title, I don't want the page title either.
You can see the existing html link above at http://www.the80schild.com/artists/ACDC.html
and the Atahualpa page I am working on. http://www.the80schild.com/artists/acdc/
You can see how it reads '80's music concert tour news.'
It needs to say AC/DC Music News - Black Ice Tour as under Atahualpa page options. All pages should say something different.
Thanks!

Flynn Aug 6, 2009 11:37 AM

You can create your own header area instead of using the %logo etc. tags

In Theme Options -> Style % Edit HEADER AREA -> Configure Header Area

<div class="seotitle"><h2><a href="<?php the_permalink() ?>"><?php global $post; echo htmlentities(get_post_meta($post->ID, 'bfa_ata_body_title', true),ENT_QUOTES,'UTF-8'); ?></a></h2>
</div>





Replace bfa_ata_body_title with bfa_ata_body_title_multi or bfa_ata_meta_title

maguai Aug 12, 2009 04:44 PM

I may be retarded, where does this actual line of code go, where the %logo % images %pages goes or in logo style area, blog tagline area.. etc. Im not totally sure.
I have got it replacing %logo. I am not getting any text though. I am getting the background of my seotitle div class from my css.

Flynn Aug 13, 2009 11:00 AM

Small correction, the code above is fixed now. Additionally, you'd have to go to Pages -> Edit and click save so that the alternative titles at "Atahualpa Page Options" (below the Wordpress Post/Page Write Panel) get saved.

maguai Aug 18, 2009 10:53 AM

Yes!! Thank you!


All times are GMT -6. The time now is 05:01 AM.

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