This shortcode enables you to add the Genesis author box within the content area of a post or page or anywhere else outside your wp editor.
Here’s a example where the shortcode is added to the WordPress editor showing the author box between 2 paragraphs of text inside a post.
As you can see above, there’s some break tags and default CSS which you can over ride via your child themes style.css file to change the padding, background etc like this:
Here’s the code for members:
Aimee Devlin says
Hey Brad!
I’ve added this code to Gallery Pro, and it works great. I have one issue.
I was unable to turn the author box off on single posts, and the theme author suggested I remove the following from the genesis_changes.php file:
add_filter( ‘get_the_author_genesis_author_box_single’, ‘__return_true’ );
This has removed the author box from the posts, but it has also rendered the shortcode useless. Are you able to assist with a tweak at all? Many thanks π
(I want the author box to appear before my end of post widgets, so that’s why I’d prefer to use the shortcode over the automatically added author box.)
Brad Dalton says
Use this code to remove the author box
Aimee Devlin says
Thank you π It worked nicely
udijw says
I did manage to enter an ID to the code, but the genesis function itself uses a global.
When I overridden that global, all the boxes showed the same author (the first one)
Brad Dalton says
Hi
Do you want a archive of author boxes?
OR
A list of authors like this http://wpsites.net/web-design/author-contributors-page-template/
udijw says
Yes, but only for some of the authors
Brad Dalton says
You can use the include parameter with a list of user i.d’s for get_user
Example:=
udijw says
Heya, quite cool
This will only allow for an author box of the actual writer. is there a way to add multiple boxes for several writers?