• Resolved patrickhealy

    (@patrickhealy)


    I have a multi-author blog and want to insert each users’ Social Author icons at the bottom of their bio page. Is there a short code that I can drop in there? I know that I can insert it into the theme with

    $icons = apply_filters(‘social_author_icons’, $ID); echo $icons;

    but I have 20+ authors and each one needs to display their own icons. Any ideas?

    https://www.ads-software.com/extend/plugins/social-autho-bio/

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

    (@nickpowers)

    If you are going to put this on the author’s bio page then they will be the author of that page and you can add the code you pointed out and replace get_the_author() with $ID and it will show the author’s icons on their author bio page.

    $icons = apply_filters(‘social_author_icons’, get_the_author()); echo $icons;

    Let me know if this works for you.

    Thanks,

    Nick

    Plugin Author Nick Powers

    (@nickpowers)

    update to my previous post… it should be get_the_author_meta( ‘ID’ )

    So, try this:

    $icons = apply_filters( ‘social_author_icons’, get_the_author_meta( ‘ID’ ) ); echo $icons;

    Thread Starter patrickhealy

    (@patrickhealy)

    I just want to to show up on the one author page each author owns and that’s it. I just want to replace the manual chicklets at the bottom of these pages. They are not author pages per se, but bio pages:

    https://luckystrikersnyc.com/members/patrick-healy/

    A short code that I could drop in at the bottom of each page pulling the page owner’s info from their profile would be optimal. Alternatively I could just manually hard code the author ID for each page. It’s not like there are hundreds of them.

    Plugin Author Nick Powers

    (@nickpowers)

    The plugin’s shortcodes do not currently do that, but it’s a good idea and I’ll implement it in a future version.

    You can do that with [social-bio] which will show the complete Social Author Bio but it currently doesn’t have the option to do it with just the social icons. The the only way to do that now is the code described above.

    Thanks,

    Nick

    Thread Starter patrickhealy

    (@patrickhealy)

    Also, if you can, it would be really cool to have the option to put more than one of each account (twitter, facebook pages, etc) in there as well. Some folks have multiple pages or profiles they would like to promote. ??

    Plugin Author Nick Powers

    (@nickpowers)

    You can add multiple twitter, facebook pages, etc… now by use of the Custom Links section in the Social Author Bio Setup. You can name one Twitter2, another Twitter3, Facebook2, etc…

    Thread Starter patrickhealy

    (@patrickhealy)

    I noticed that. I’m going to try that out. Is there a way to replace the stock chicklets with my own? That will help me keep it consistent.

    Plugin Author Nick Powers

    (@nickpowers)

    Under the plugin folder there is a folder named images which contains all the images. You can change those but you would have to copy of your custom ones each time you upgrade.

    I’m playing around with the idea of making the plugin so that all the social links are treated the same as custom ones. I actually already have a development version that does this but the trick is how to do that and keep the plugin user friendly. Though, I continue to work towards that goal.

    Plugin Author Nick Powers

    (@nickpowers)

    I just uploaded v 2.4 which includes the new shortcode [social_bio_icons] that just displays the Social Icons, as well as other things.

    Check it out and let me know what you think.

    Nick

    Thread Starter patrickhealy

    (@patrickhealy)

    Just tried to implement it. No dice. For some reason, it’s not showing. I noticed that your original shortcode was [social-bio] so I plugged in [social-bio-icons] and that shows the same thing as [social-bio].

    Plugin Author Nick Powers

    (@nickpowers)

    It has to be enabled in the Settings page (Dashboard->Social Author Bio->General)

    Also, you have to use [social_bio_icons] (notice the underscores instead of the dash)

    [social-bio] shows the entire bio box
    [social_bio_icons] shows just the Social icons

    Give this a try and let me know.

    Nick

    Thread Starter patrickhealy

    (@patrickhealy)

    That did it thanks! This is great. There’s not a lot I would change about this. Other than the custom icons, I’d say the ability to change the order and titls/alt text added to each chicklet is the only thing that could be improved here. I can’t believe there are not more plugins like this considering it’s really what authors need for a number of reasons (authorship being the biggest one IMO). Nice job on this. I really appreciate it and hope other do too!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Need to manually insert Social Author Icons’ is closed to new replies.