Community Forums › Forums › Archived Forums › Design Tips and Tricks › Author Box
Tagged: author box
- This topic has 16 replies, 4 voices, and was last updated 11 years, 3 months ago by John.
-
AuthorPosts
-
November 19, 2012 at 4:09 pm #743jamaicajayMember
How do I insert a picture and google+ badge in the author box on posts? Along with post count.
December 7, 2012 at 11:47 pm #3826ezinesParticipantI'd like to know the same things.
Are the answers so obvious no one will respond?
December 8, 2012 at 8:28 am #3833JohnParticipantThe author's photo is, or should be, generated from his/her Gravatar account: http://en.gravatar.com/
The other stuff is more complicated. For example, do a Google search of customize genesis author box and look through the results.
And if you're up to some coding, Bill Erickson posted a code snippet that you can use to customize the author box.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉December 8, 2012 at 8:31 am #3834JohnParticipantThe StudioPress author box code snippets may be helpful too: http://my.studiopress.com/snippets/author-box/
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉December 15, 2012 at 12:05 pm #5425Rocky TopMemberI did perform the search for customize genesis author box and have read through the results. Not having much code experience, where exactly is the code from these tutorials supposed to go? Just anywhere in the functions.php file or is there specific places?
December 15, 2012 at 12:20 pm #5428JohnParticipantBest practice is to add any new code to the bottom of functions.php. You could even add a comment line below the standard stuff like this example, and add your code below that line:
/* Custom Functions below this line
------------------------------------------------------------ */
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉December 15, 2012 at 12:34 pm #5430Rocky TopMemberThanks! I will give it a go.
December 15, 2012 at 1:23 pm #5437Rocky TopMemberHey John, before I break my site by fooling with code let me tell you what I am wanting to do. I have a custom author plugin that I like and use on all blog posts. It appears at the bottom of every post like you see here http://www.anniemaloney.com/cabin-foreclosures-in-gatlinburg-tn/ I want to take that author box and make it display at the top of this page http://www.anniemaloney.com/author/admin how would I do that?
December 15, 2012 at 2:12 pm #5443JohnParticipantRocky Top,
Breaking your site is how you learn, as long as you can quickly un-break it! 🙂
Seriously though, I don't know how your custom author plugin will affect this, but if you add this code snippet to the bottom of your functions.php file it should (might) do the trick:
/** Display author box on archive pages */
add_filter( 'get_the_author_genesis_author_box_archive', '__return_true' );I just tried it on a site I'm currently developing and it added an author box at the top of the author archive page. Let me know if it works for you.
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉January 6, 2013 at 5:56 pm #9990Rocky TopMemberGot mine all figured out. Just forgot to report back here. There is a plugin called HTML in author bio. It allows you to write in html in the bio box on the user profile. End result looks like this. http://www.anniemaloney.com/author/admin
January 6, 2013 at 5:58 pm #9991Rocky TopMemberWhat I would like to do with that author box is change that <H> tag for the title. Little smaller darker, and different text. Where is that code at?
January 6, 2013 at 6:20 pm #9993JohnParticipantYou don't have to necessarily change the h1 tag - you can just add this to your style.css, and adjust as wanted:
.author-box h1 {
color: #555;
font-family: Georgia;
font-size: 24px;
}But if you did want to change the h1 tag to something else you'll most likely find that in the plugin files somewhere.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉January 6, 2013 at 6:59 pm #9999Rocky TopMemberI found the part of the stylesheet to change the font. It was under headlines. That author box is part of the theme. Where would I find that text so I can change it? The "About Annie Maloney" I'm sure the name comes from the profile but the "About" part has to be getting populated from somewhere.
January 6, 2013 at 7:33 pm #10006JohnParticipantDid you try any of these? http://my.studiopress.com/snippets/author-box/
Specifically the code to modify the Author Box title?
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉January 6, 2013 at 8:11 pm #10012Rocky TopMemberWow. Where exactly does that code need to be placed. Functions.php?
January 6, 2013 at 8:21 pm #10017Rocky TopMemberNevermind, duh
January 6, 2013 at 8:53 pm #10020JohnParticipant🙂
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉 -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.