Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Nick Powers

    (@nickpowers)

    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.

    Nick

    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.

    adechriz

    (@adechriz)

    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

    Plugin Author Nick Powers

    (@nickpowers)

    [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?

    adechriz

    (@adechriz)

    I’ve try that but it’s only show blank author box ??
    I’m using greenearth theme from goodlayers

    Thankyou for yor answer

    adechriz

    (@adechriz)

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

    https://farm9.staticflickr.com/8199/8225780493_cf2fe83feb_b.jpg

    https://farm9.staticflickr.com/8206/8225780593_0c8888fe0d_b.jpg

    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

    Plugin Author Nick Powers

    (@nickpowers)

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Social Author Bio] Use on author archives page?’ is closed to new replies.