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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Byline tooltip?


  #1  
Old Sep 19, 2010, 08:55 PM
sunsfan
 
4 posts · Sep 2010
Using 3.5.3

I would like to change the text in the tool tip when hovering over the byline. Currently I have the byline setup for a link to a website and when hovering, it now say "Visit (authors) Website".

Anyone have ideas on how to change that.

Thanks in advance for help.
  #2  
Old Sep 20, 2010, 05:27 AM
juggledad's Avatar
juggledad
 
23,687 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the url?
what EXACTLY do you have in the byline settings?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 20, 2010, 11:48 AM
sunsfan
 
4 posts · Sep 2010
It is on a internal dev server right now, so I can't supply the url.

I the byline setup to link to the authors website using %author-link% in the "edit post/page info items". I would like to change the tooltip that appears when you hover over that link.

Thanks
  #4  
Old Sep 20, 2010, 12:14 PM
juggledad's Avatar
juggledad
 
23,687 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
So all you put in the by-line is
HTML Code:
%author-link%
can you provide one of the author's links that is giving the issue - you can PM it to me if you don't want to enter it here.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 20, 2010, 01:39 PM
sunsfan
 
4 posts · Sep 2010
Quote:
Originally Posted by juggledad
So all you put in the by-line is
HTML Code:
%author-link%
can you provide one of the author's links that is giving the issue - you can PM it to me if you don't want to enter it here.
Sorry, juggledad, not sure what you mean. The %author-link% uses what I entered into the users profile website field. So I have that field set up as a page on the site of authors bio. I would like the change the text in the tooltip to Say " Read (authors) Bio" and not "Visit (authors) website"

Does that make sense?
  #6  
Old Sep 20, 2010, 02:00 PM
juggledad's Avatar
juggledad
 
23,687 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Atahualpa is calling a WordPress function and it returns the entire link html. You can change the text, but you will have to edit author-template.php (it is the wp-includes folder of wordpress) and find the routine
HTML Code:
function get_the_author_link() {
	if ( get_the_author_meta('url') ) {
		return '<a href="' . get_the_author_meta('url') . '" title="' . esc_attr( sprintf(__("Visit %s’s website"), get_the_author()) ) . '" rel="external">' . get_the_author() . '</a>';
	} else {
		return get_the_author();
	}
}
it's line 139 in WP 3.0.1
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Sep 20, 2010, 02:40 PM
sunsfan
 
4 posts · Sep 2010
Quote:
Originally Posted by juggledad
Atahualpa is calling a WordPress function and it returns the entire link html. You can change the text, but you will have to edit author-template.php (it is the wp-includes folder of wordpress) and find the routine
HTML Code:
function get_the_author_link() {
	if ( get_the_author_meta('url') ) {
		return '<a href="' . get_the_author_meta('url') . '" title="' . esc_attr( sprintf(__("Visit %sís website"), get_the_author()) ) . '" rel="external">' . get_the_author() . '</a>';
	} else {
		return get_the_author();
	}
}
it's line 139 in WP 3.0.1
Let me say this SIR! You are the MAN. If half of the people I work with were half as knowledgeable about any one subject as you are.......the world would be a better place.

Just my way of saying thank you!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
3.4.9 bug, % in byline Wimbledon Post-Kicker, -Byline & -Footer 6 May 23, 2010 10:21 PM
Byline: Homepage cvan Post-Kicker, -Byline & -Footer 1 Sep 6, 2009 05:25 AM
"Tooltip" style hover text for PageMenu? lhanft Page & Category Menu Bars 5 Jul 16, 2009 05:11 PM
How do we control the tooltip color? pbravin Atahualpa 3 Wordpress theme 10 Mar 27, 2009 06:54 AM
BYLINE Customization Darren Sproat Post-Kicker, -Byline & -Footer 0 Mar 21, 2009 05:38 PM


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


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