Social Author Bio
[resolved] Display the bio even if the author has no post (4 posts)

  1. gooweb
    Posted 2 years ago #


    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.



  2. Nick Powers
    Plugin Author

    Posted 2 years ago #

    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?

  3. gooweb
    Posted 2 years 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.

  4. Nick Powers
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Author Bio
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.