Move author box to top of posts (Going Green theme)

Community Forums Forums Design Tips and Tricks Move author box to top of posts (Going Green theme)

This topic is: not resolved

Tagged: 

This topic contains 5 replies, has 2 voices, and was last updated by  SoZo 2 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1327

    Viviwat
    Participant
    Post count: 2

    Hello everyone

    I’d like the author box to appear at the top of posts, rather than at the bottom. I have the Going Green theme and this is the URL of my site:

    http://naceunamama.com

    What do I need to do? The last time I tried to edit the code I screwed my functions.php and had to revert the changes in my cpanel :(

    Thanks for your help!

    #1369

    SoZo
    Moderator
    Post count: 1573

    Where are the top do you want it? Before the title, after the title, before the post info, after the post info?


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #1398

    Viviwat
    Participant
    Post count: 2

    After the title, post info and social media buttons. Right before the content. Thanks!

    #1401

    SoZo
    Moderator
    Post count: 1573

    Ok, try this

    /* Move the Author Box */
    remove_action( 'genesis_after_post', 'genesis_do_author_box_single' );
    add_action( 'genesis_post_content', 'genesis_do_author_box_single', 1 );

    May need to play with the priority number, the “1″.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #1430

    Viviwat
    Participant
    Post count: 2

    It worked! Thanks!

    #1431

    SoZo
    Moderator
    Post count: 1573

    You’re welcome :)


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Move author box to top of posts (Going Green theme)’ is closed to new replies.