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)
-   -   Linking Header to Website Root, Not Blog Root (http://forum.bytesforall.com/showthread.php?t=502)

mishutkadesign Feb 22, 2009 04:51 PM

Linking Header to Website Root, Not Blog Root
 
Hello everyone:

I have just added a WP blog to my website using Atahualpa theme--which is wonderful and easy to customize for people like me, who have some vague knowledge of PHP.

My header contains a logo and is clickable; I'd like to link it to my website home page, not the the blog home page. This probably requires hacking the PHP code and it's above my head. Can anyone help? Thanks in advance!

Website: www.mishutkadesign.com
Blog: www.mishutkadesign.com/blog

Flynn Feb 22, 2009 06:22 PM

In functions/bfa_header_config.php should be line 53, find:

PHP Code:

        $logo_area .= '<td ' $header_rowspan 'valign="middle" class="logoarea-logo"><a href="' get_option('home') . '/"><img class="logo" src="'

and replace with:
PHP Code:

        $logo_area .= '<td ' $header_rowspan 'valign="middle" class="logoarea-logo"><a href="http://www.mysite.com/"><img class="logo" src="'


mishutkadesign Feb 22, 2009 07:30 PM

Thank you, Flynn! It worked like a charm ;-) Have a nice week!

Scoop The Dirt May 4, 2009 12:31 AM

WOW, Thanks Flynn You are the best!


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

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