WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. uberCassie
    Member
    Posted 2 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.

    http://wordpress.org/extend/plugins/social-autho-bio/

  2. Nick Powers
    Member
    Plugin Author

    Posted 2 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.

    Nick

  3. quimbox
    Member
    Posted 2 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

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

    http://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

  8. Nick Powers
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.