This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Adding linkedin 'follow' button up next the social media icons

  • Creator
    Topic
  • #26288
    bennettwebmaster
    Participant

    Here’s our current site: http://www.bennettig.com/
    Up next to the icons we wanted to add the code that generates a “follow” button for linked in.

    Is this possible? If so how would I go about it?

    Here’s the code:

    <script src="//platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script>
    <script type="IN/FollowCompany" data-id="79859"></script>

    I realize the forum is shutting down tomorrow so hopefully this gets through before then. If not, we’ll go through theme forest.

    thanks,
    Lewis

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #26289
    Jason Bobich
    Keymaster

    Hi Lewis,

    Unfortunately, there’s no feature in the theme for you to add this code through any kind of user option. So, this will be a customization you’ll need to make from your child theme.

    The simplest way would be probably just to hook to themeblvd_header_addon and it’ll get placed after the current HTML there. Then you’d just use CSS to put it where you want.

    http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

    Or if that doesn’t work, you’d need to have your code more precisely in with the social icons markup, you’d need to unhook the default alyeska_header_addon() function from themeblvd_header_addon action and hook your own new function in its place to reconstruct that entire area.

    You can see /includes/theme-functions.php of the theme, and check out what the default alyeska_header_addon() function looks like. You’d basically be recreating that from your own callback function, but with your code added in there exactly where you want.

Viewing 1 replies (of 1 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.