Wordpress Themes - WP Forum at BFA
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.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Unable to modify Logo Icon Link in bfa_header_configuration


  #1  
Old Mar 15, 2011, 11:35 AM
gnosis
 
173 posts · May 2010
Unable to modify Logo Icon Link in bfa_header_configuration:

If I change this:

if ( $bfa_ata['logo'] != "" )
{
echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-logo"><a href=""><img class="logo" src="';

to:

if ( $bfa_ata['logo'] != "" )
{
echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-logo"><a href="mysite.com"><img class="logo" src="';


The link on the logo merely appends to the current page.
So if a user is on:

http://mysite.com/page9
and clicks on logo
user will encounter a 404 page not found because URL is appended to:

http://mysite.com/page9/mysite.com

I would like to direct users back to home page.

Please help.

Thanks.
  #2  
Old Mar 15, 2011, 01:52 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'm not wure what you want to do. The logo is set up to link back to the home/landing page by default. Are you trying to get it to link somewhere else?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 16, 2011, 06:59 AM
gnosis
 
173 posts · May 2010
rather than linking back to the library home page, I want to link to another URL
  #4  
Old Mar 16, 2011, 07:19 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa?
and what is teh wordpress url (dashboard->settings->general)?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 16, 2011, 11:20 AM
gnosis
 
173 posts · May 2010
3.64
http://library.gc.cuny.edu/mrl365_2
  #6  
Old Mar 16, 2011, 11:45 AM
gnosis
 
173 posts · May 2010
what do you mean by an absolute URL?

Why wouldn't this work:

if ( $bfa_ata['logo'] != "" )
{
echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-logo"><a href="mysite.com"><img class="logo" src="';

isn't mysite.com absolute?
  #7  
Old Mar 16, 2011, 12:31 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you are missing the 'http://' you need to code it as
HTML Code:
			// Logo Icon for Wordpress and WPMU
			if ( $bfa_ata['logo'] != "" ) 
			{ 
				echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-logo"><a href="http://mysite.com"><img class="logo" src="';
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 16, 2011 at 04:19 PM.

Bookmarks

Tags
header configuration, logo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete or modify a menu PAFISH Page & Category Menu Bars 8 Jan 29, 2011 04:26 AM
[SOLVED] rss icon styling in logo bar Zed Header configuration & styling 1 Oct 18, 2009 05:04 AM
[SOLVED] How to add icon and link to logo bar crogers32 Header configuration & styling 7 Sep 18, 2009 06:42 AM
How to change the logo icon johullster Forum How-To 5 Sep 13, 2009 10:12 AM
Logo Table- Feed/Comment Icon Help colemanorgoldman Atahualpa 3 Wordpress theme 1 Jan 27, 2009 10:08 PM


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


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