![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Hi everyone - I had my WordPress team at 9Seeds create a plugin for our fellow Genesis theme users that will:
Google is now supporting the rel="author" tag and for social media and SEO purposes this is an important addition to your blog. The download and install instructions are on this post: http://su.pr/5zhc4q Enjoy! Robert Dempsey, CEO &Founder Dempsey Marketing http://dempseymarketing.com |
|
#2
|
||||
|
||||
|
How awesome of you! You rock!
__________________
Cyndi Papia Virtual Assistant, IVAA EthicsChecked, CRESS http://OfficeTo-Go.com |
|
#3
|
||||
|
||||
|
Good afternoon Robert, thank you for the Google+ invite as well as the tutorial and plugin!
I already have my author box set up via Genesis . I find worth and merit in your post but is there a way to add this to the Author box without adding a plugin ? |
|
#4
|
||||
|
||||
|
//add more user contact methods
add_filter('user_contactmethods', 'more_contactmethods'); function more_contactmethods($contactmethods) { $contactmethods['twitter'] = 'Twitter username'; $contactmethods['facebook'] = 'Facebook URL'; $contactmethods['linkedin'] = 'LinkedIn URL'; $contactmethods ['youtube'] = 'YouTube URL'; $contactmethods['google_profile'] = 'Google Profile URL'; return $contactmethods; }
__________________
Cyndi Papia Virtual Assistant, IVAA EthicsChecked, CRESS http://OfficeTo-Go.com |
|
#5
|
||||
|
||||
|
Hi, Cyndi
I am not fluent with coding yet, is what you posted above to be entered into the functions.php file? If not where might I put it? Thank you Campbell |
|
#6
|
||||
|
||||
|
Ok, it added the different elements to the my user profile page but it does not achor ref my name in the Author box such as the plugin did!
How do I get that to implement as well through code Cyndi? Thank you Campbell |
|
#7
|
||||
|
||||
|
Oh, sorry, yes, in the functions.php....I'll dig up the rest of the code, thought that was all of it. Will pull it out of a functions.php file.
__________________
Cyndi Papia Virtual Assistant, IVAA EthicsChecked, CRESS http://OfficeTo-Go.com |
|
#8
|
||||
|
||||
|
Hey Cyndi,
At this point i am trying to achieve the Turn your name in the author box into a link to your Google+ profile aspect of this project I see yoast makes reference to the author.php but we do not have any of that with genesis So just how exactly do I make my Name in the Author box a link to my Google + Profile ? Thank you and I appreciate your willingness to contribute and help! ![]() Campbell |
|
#9
|
||||
|
||||
|
I made an authors.php from the archive.php and did coding in that and functions.php. Plug-in is probably the way to go for you. I like to minimize plug-ins too. I try my best but I'm sure more knowledgeable will have an easier solution for you. Have a great holiday weekend.
__________________
Cyndi Papia Virtual Assistant, IVAA EthicsChecked, CRESS http://OfficeTo-Go.com |
|
#10
|
||||
|
||||
|
Quote:
![]() Thank you Campbell |
|
#11
|
||||
|
||||
|
__________________
Cyndi Papia Virtual Assistant, IVAA EthicsChecked, CRESS http://OfficeTo-Go.com |
|
#12
|
||||
|
||||
|
Thank you Cyndi
|
|
#13
|
||||
|
||||
|
Hi Campbell - you can use the code in the plugin and add it to your functions.php to achieve the same effect. We made the plugin to make it easy.
Looks like Cyndi beat me to helping you out. Thanks Cyndi! |
|
#14
|
||||
|
||||
|
Great assist Robert! Thank you for all of your help you and your plugin ROCK!
![]() Thank you as well Cyndi! Campbell |
|
#15
|
||||
|
||||
|
Oh, oh, in my original posting of code forgot the last line:
add_filter( 'user_contactmethods', 'your_add_google_profile', 10, 1);
__________________
Cyndi Papia Virtual Assistant, IVAA EthicsChecked, CRESS http://OfficeTo-Go.com |
|
#16
|
|||
|
|||
|
|
|
#17
|
||||
|
||||
|
Quote:
If you look in your Child Theme style.css you will find the Author Box code. You can find this easily enough by right clicking over the Author Box on your site and and selecting inspect element and it will show you the # Line of the .css code in your style sheet, providing that you have FireBug installed and are using FireFox as your web browser After you locate your Author Box in your style.css you will have to add some additional elements to it via selectors to style it. These are the Selectors that you will add .author-box { background: #F7F9FA; margin: 0 0 30px 0; padding: 10px; border: 1px solid #DDDDDD; } .author-box p { margin: 0; padding: 0; } .author-box img { background: #FFFFFF; float: left; margin: 0 10px 0 0; padding: 4px; border: 1px solid #E6E6E6; } Here is Mine Complete Author Box Code from my Child Theme style.css this will show you how and where the selectors are added in relation to the Author Box Code! .author-box { background: url(images/line-1-sidebar.png) top repeat-x; margin: 0 0 40px; margin-top: 40px; padding: 20px 0 0; overflow: hidden; } .author-box { background: #F7F9FA; margin: 0 0 30px 0; padding: 10px; border: 1px solid #DDDDDD; } .author-box p { margin: 0; padding: 0; } .author-box img { background: #FFFFFF; float: left; margin: 0 10px 0 0; padding: 4px; border: 1px solid #E6E6E6; } Enjoy your Sunday Campbell |
|
#18
|
|||
|
|||
|
Hello Campbell:
Thanks very much for the info! I didn't realized the css code is already present. Have edited according to my desire. Appreciate the support! |
|
#19
|
||||
|
||||
|
Any time sesame! Just making my contribution back to the community where I can
Campbell |
| Tags |
| plugin |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Plugin to show "latest" "comments", "categories" etc as tabs | colin | General Discussion | 2 | 04-16-2009 01:03 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us