Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #712249

    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"]')?>

    #712255

    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

    #712260

    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

    #712261
    #712349

    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

    #712687

    Sure… Trying to replace the default sharing section in the enfold theme.

    #713037

    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

    #713756

    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

    #713762

    Hey!

    We will close this one and wait for your other thread :)

    Cheers!
    Yigit

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘PHP shortcode’ is closed to new replies.