Author Box

This topic is: not resolved

Tagged: 

This topic contains 16 replies, has 4 voices, and was last updated by  John 1 year, 10 months ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #743

    jamaicajay
    Participant

    How do I insert a picture and google+ badge in the author box on posts? Along with post count.

    #3826

    ezines
    Participant
    Post count: 74

    I’d like to know the same things.

    Are the answers so obvious no one will respond?

     

    #3833

    John
    Participant
    Post count: 157

    The 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 ;)

    #3834

    John
    Participant
    Post count: 157

    The 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 ;)

    #5425

    Rocky Top
    Participant
    Post count: 6

    I 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?

    #5428

    John
    Participant
    Post count: 157

    Best 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 ;)

    #5430

    Rocky Top
    Participant
    Post count: 6

    Thanks!  I will give it a go.

    #5437

    Rocky Top
    Participant
    Post count: 6

    Hey 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?

    #5443

    John
    Participant
    Post count: 157

    Rocky 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 ;)

    #9990

    Rocky Top
    Participant
    Post count: 6

    Got 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

    #9991

    Rocky Top
    Participant
    Post count: 6

    What 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?

    #9993

    John
    Participant
    Post count: 157

    You 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 ;)

    #9999

    Rocky Top
    Participant
    Post count: 6

    I 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.

    #10006

    John
    Participant
    Post count: 157

    Did 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 ;)

    #10012

    Rocky Top
    Participant
    Post count: 6

    Wow.  Where exactly does that code need to be placed.  Functions.php?

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.