Social Author Bio
[resolved] Use on author archives page? (8 posts)

  1. uberCassie
    Posted 4 years ago #

    First of all, thanks for a fab plugin. It works great so far. My question is this: Is it possible to use this on individual author archives pages? (Like author.php)? Thanks.


  2. Nick Powers
    Plugin Author

    Posted 4 years ago #

    It's simple to add it to author.php. Just edit the file and add something like the following where you would like it displayed:

    <?php $socialauthor = do_shortcode('[social-bio]'); echo $socialauthor; ?>

    Here is a example of a site doing exactly that: example

    Please let me know if this works for you, if it does I'll add it to the FAQ.


  3. quimbox
    Posted 4 years ago #

    Hi nickpowers,

    I was looking for ways to add it to my template. And so it works perfect. And to work, you should select the short code box in the general configuration of the plugin.

  4. adechriz
    Posted 3 years ago #

    Hi nick,

    I'm using that shortcode but it's only showing blank author box
    when i define the authors id [social-bio id=1] all the authors page display the same authors.

    Can you tell me how I can get different author box based on authors id/nickname with this shortcode?

    Thank You

  5. Nick Powers
    Plugin Author

    Posted 3 years ago #

    [social-bio id=1] is specifying to show the author with ID of 1. If you want it to show the author of the current post/page then just leave id off like this: [social-bio]

    Does that help you?

  6. adechriz
    Posted 3 years ago #

    I've try that but it's only show blank author box :(
    I'm using greenearth theme from goodlayers

    Thankyou for yor answer

  7. adechriz
    Posted 3 years ago #

    I'm running it on localhost but i take the screenshot



    Actually I have the solution. i have 20 author and I duplicate the author.php 20 times and insert the code on them :)

    I know it's not the best solution but it's works for me

  8. Nick Powers
    Plugin Author

    Posted 3 years ago #

    The only thing I can think is that something is making the authors not being listed as the author of those pages.

    I'm sorry but I do not have enough info to diagnose why this is not working for you.

    If you ever put it up on an accessible site, from the Internet, then I would be happy to take a look.

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.