Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 07: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, 04:27 AM
juggledad's Avatar
juggledad
 
23,765 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, 10: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, 11:14 AM
juggledad's Avatar
juggledad
 
23,765 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, 12: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, 01:00 PM
juggledad's Avatar
juggledad
 
23,765 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, 01: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 09:21 PM
Byline: Homepage cvan Post-Kicker, -Byline & -Footer 1 Sep 6, 2009 04:25 AM
"Tooltip" style hover text for PageMenu? lhanft Page & Category Menu Bars 5 Jul 16, 2009 04:11 PM
How do we control the tooltip color? pbravin Atahualpa 3 Wordpress theme 10 Mar 27, 2009 05:54 AM
BYLINE Customization Darren Sproat Post-Kicker, -Byline & -Footer 0 Mar 21, 2009 04:38 PM


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


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