Tagged: php, shortcode, social icons
I am having an issue finding where to place this code in order to place social icons on the bottom instead of the default enfold theme has. I am using an addon to do it and it kicks out shortcodes.
I know this can can used to get the social icons on the site but not sure where to place this.
<?php echo do_shortcode('[aps-social id="1"]')?>
Hey ninjaunmatched!
Please go to Enfold theme options > Footer and check “Social Icons”.
If that does not help, please post a screenshot showing the changes you would like to make. You can upload your screenshots on imgur.com or Dropbox public folder and post the links here.
Cheers!
Yigit
The addon adds social icons by shortcode I just want to place those using the code I posted to the bottom of every post without having to paste some shortcode into every post
This is the addon..
Hi,
You should add it it footer.php (in the theme file), but I suggest you use a child theme (check this thread on using Enfold’s Child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/ ). Can you post a screenshot where you want it to be placed so we can know where you should place the shortcode in footer.php.
Best regards,
Nikko
Sure… Trying to replace the default sharing section in the enfold theme.
Hi,
Please edit enfold/includes/loop-index.php file and find
avia_social_share_links();
and replace it with
echo do_shortcode('[aps-social id="1"]')
Best regards,
Yigit
Okay cool… The stupid addon wont post anywhere anyways…. Thanks for the response. I will use default for now… I am running into another issue with blog format…. Will ask in another post