- This topic has 4 replies, 3 voices, and was last updated 1 year, 1 month ago by .
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
On the author archive page, there is first the image and info about the author, and then the list of posts by that author. I would like to switch these two, so that you first see the posts and beneath that the author info. Any idea how I this can be accomplished?
Change the hook position https://wpsites.net/genesis-hooks/
This is the default position found on line 117 of archive.php :
add_action( 'genesis_before_loop', 'genesis_do_author_box_archive', 15 );
You can remove this function form that hook and re-hook it to after the loop.
Thanks, also for that link 🙂
This, in functions.php, should remove it :
remove_action( 'genesis_before_loop', 'genesis_do_author_box_archive', 15 );
And then you can add it back using a different hook, maybe genesis_after_loop
© 2023 WPEngine, Inc.