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?
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.
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;
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:
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.
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.
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. 🙂
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…
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.
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.
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.
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].
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.
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!
- The topic ‘Need to manually insert Social Author Icons’ is closed to new replies.