gooweb
Member
Posted 3 months ago #
Hi,
I tried to use the php code on my author.php page
<?php echo do_shortcode('[social-bio]'); ?>
but it doesn't work, do you know why ?
Also, is there possible to display the bio on a single page, even if the author has no post ?
I use a theme who has custom post types. Posts are not used by my authors. I found another way to display the bio, but it disapears when there are no posts.
Thanks.
http://wordpress.org/extend/plugins/social-autho-bio/
I am planning on adding custom post type ability out of the box in the next version.
Given that it should still work with a shortcode, as long as the user is the author of the post type, or if you specify id=??? where ??? is the user's ID.
Do you have shortcode enabled in the settings page?
gooweb
Member
Posted 3 months ago #
Actually I can't use a shortcode with an ID, because the bio is on the author.php page (I have no posts and no pages where I can insert a shortcode).
My goal is to display a member list, and a bio on the specific page of the members.
OK I get what your saying now.
Unfortunately, the author template that displays this is setup that way. I have only heard of a couple of ways to get around this. The first way to get around it is to create a dummy post for authors with 0 posts with a title like Welcome Author ???? to our site. The second is to create a post (of any type) and have a template behind it that can render the bio pages for authors.
I have just started working on doing this for Social Author Bio. If it works out like I plan then the user will have the option to turn on /bio/ pages for each author (who has Social Author Bio enabled).