StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Free rel="author" plugin for our fellow Genesis users (http://www.studiopress.com/support/showthread.php?t=73011)

RobertDempsey 09-02-2011 08:49 AM

Free rel="author" plugin for our fellow Genesis users
 
Hi everyone - I had my WordPress team at 9Seeds create a plugin for our fellow Genesis theme users that will:
  1. Add a field for your Google+ profile to your WordPress user profile
  2. Turn your name in the author box into a link to your Google+ profile
  3. Add the rel="author" tag to the link

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

officeto-go 09-02-2011 09:04 AM

How awesome of you! You rock!

Campbell McArthur 09-02-2011 02:24 PM

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 ?

officeto-go 09-02-2011 02:28 PM

//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;

}

Campbell McArthur 09-02-2011 02:49 PM

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

Campbell McArthur 09-02-2011 02:51 PM

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

officeto-go 09-02-2011 03:00 PM

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.

Campbell McArthur 09-02-2011 03:05 PM

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!:clap:

Campbell

officeto-go 09-02-2011 03:21 PM

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.

Campbell McArthur 09-02-2011 03:51 PM

Quote:

Originally Posted by officeto-go (Post 373497)
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.

Don't be fooled...LOL I like doing things the hard way that involve the more intricate aspects of learning.....I am not afraid, providing you are willing to assist:pop:


Thank you

Campbell

officeto-go 09-02-2011 04:28 PM

I'll PM you!



Campbell McArthur 09-02-2011 04:35 PM

Thank you Cyndi

RobertDempsey 09-02-2011 11:53 PM

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!

Campbell McArthur 09-03-2011 03:11 AM

Great assist Robert! Thank you for all of your help you and your plugin ROCK!:clap:

Thank you as well Cyndi!



Campbell

officeto-go 09-03-2011 07:42 AM

Oh, oh, in my original posting of code forgot the last line:

add_filter( 'user_contactmethods', 'your_add_google_profile', 10, 1);

sesame 09-04-2011 06:35 AM

Hi: How can I edit the color of the author box?

My site is http://www.vivawoman.net

Campbell McArthur 09-04-2011 10:15 AM

Quote:

Originally Posted by sesame (Post 374113)
Hi: How can I edit the color of the author box?

My site is http://www.vivawoman.net

Good Morning sesame

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

sesame 09-05-2011 06:52 AM

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! :):

Campbell McArthur 09-05-2011 03:29 PM

Any time sesame! Just making my contribution back to the community where I can :):


Campbell


All times are GMT -5. The time now is 08:23 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.