Social icons showing up 1.5x

4 posts in this topic

Well I'm just a question-asking fool this week!


FYI- my site is in maintenance mode.


So, I needed to use hooks to add change/add social icons. I didn't have the brain space to figure out hooks, so I bought the hooker plugin. I added the following html to pagelines_before_branding_icons hook:

<div class="icons" style="bottom: 12px; right: 1px;">
<a class="facebooklink" href=""target="_blank">
<img alt="Facebook" src="">
<a class="pinterestlink" href="" target="_blank">
<img alt="Pinterest" src="">
<a class="twitterlink" href="" target="_blank"style="opacity: 0.5;">
<img alt="Twitter" src="">
<a class="tumblrlink" href="" target="_blank">
<img alt="Tumblr" src="">
<a class="linkedinlink" href=""target="_blank">
<img alt="LinkedIn" src="">
<a class="emailink" href="" target="_blank">
<img alt="Email" src="">
<a class="rsslink" href="" target="_blank"style="opacity: 0.5;">
<img alt="RSS" src="">

The icons are great and lined up nicely and exactly where they are supposed to be except... 4 of them are repeated on the left side of the page above my fixednav bar. What in the world is going on??


Also, I just noticed that the code for the errant icons actually matches the Pagelines code for the included social icons that you edit in Site Options. WHY? What in the world did I do wrong this time?


***UPDATE*** Weird freaking other thing happened in sync with the extra icons- my logo is no greyed out or has some opacity applied when I'm not hovering on it. This is new. I didn't do this. Well, I obviously did it but I don't know how. Oh god, make it end.


Bree :(

Share this post

Link to post
Share on other sites

Hi there, there's nothing in the html code that duplicates, it works fine when i pasted into a post to test. But you have forgotten to close the div tag at the end.

Share this post

Link to post
Share on other sites

So embarassed. It totally was user error. I'm not going to share the level of duh- but that you for your time, again :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • Hooker - Action Map
      By kellid
      I'm in a dramatic situation.  I have a live site that is totally screwed up and I'm in desperate need to fix it asap.  The site was originally build with Pagelines but have made several upgrades through the years.  With the latest WP upgrade, somehow the action loop I was using on my homepage came through dramatically wrong and not sure how to fix the problem.  I have the Hooker plugin and in need of finding the action map to figure out where to implement the loop and fix the problem.  I found the action map plugin stored on an old hardrive but when activated, I got an error so I quickly deleted it.  I can't find a download or instructions on this anywhere, only broken links and no documentation.   
      Can you please direct me to the action map to use the hooker that I already have or show me the documentation to use this product?  
      Thank you
    • alternate social icons, SSL/non-SSL mixed errors w/social and shoppingcart
      By jeomiland+
      In post 34871-sharebar-issues Danny suggests one can use any of the icons in font-awsome for social share icons. What's the best way to use other images?  Client asked me to implement the icons at  specifically #20 "20 Social Media Icons". Have downloaded the zip file containing those icons but where/how get them to show up on the site?
      So I am referring to both the icons to send visitors to the site owner social properties AND shar icons so people can Like, share ect.
      Upon further research, I see a discussion on problems with using social icons on SSL (https://...) sites since a warning message comes up complaining about mixed SSL and non-SSL content on the page? Since this site is a shoppingcart site, using Woocommerce, this could be a problem. What's the current wisdom on dealing with this?  Also, I read a while ago there can be a performance hit if one makes their whole site SSL, so since Wordpress and themes adds significant overhead, what's the current wisdom on this issue?  SSL for all pages or just for shoppingcart checkout/account info pages?
    • Social icons went missing in the site branding section
      By pieterbartlema
      Dear All,
      Somehow the the social icons went missing in the site branding section. please help...
    • Why would this custom function NOT work?
      By Justin Taylor+
      I am using a child theme (the pl-starter-theme-master) and have added the following custom function to the child functions.php file:
      // Add AddThis share code to blog posts add_action('pagelines_loop_before_post_content', 'add_addthis_share_code'); function add_addthis_share_code() { echo"<div class=\"addthis_sharing_toolbox\"></div> "; }It isn't do anything. Can someone see why?
    • jQuery Not Loading in Hooker Plugin
      By ipitts+
      To whom it may concern:
      I am developing a website for a client using the PageLines DMS2 theme and am having an issue getting a custom jQuery function to work using your Hooker plugin. I have used Hooker to add HTML and PHP to the wp_head hook successfully, so I do not understand where the issue exists – I am using the pageslines_after_footer hook to place my jQuery at the bottom of the document (alongside the many other scripts that come with the theme and various other plugins). I checked the document HEAD section and know that jQuery is enabled, and after enabling my custom hook saw that my script was loaded into the footer (as hoped for), but it is not working.
      I am trying to make a simple, custom back-to-top button that appears after a user has scrolled the page a certain distance, as calculated in jQuery. After an hour, I decided to troubleshoot my script on a test WordPress site on my localhost (using jQuery version 1.11.3) and it works exactly as intended. I would like to avoid writing any code within the DMS2 theme files if possible.
      I have also tried the wp_head, wp_footer and pagelines_before_footer hooks to no avail. Am I using the wrong hook(s)? What else can I try?
      My code:
      <a href="#"><div id="bttb-cont" style="">Hello</div></a>
      jQuery (within the Hooker plugin)
      <script type="text/javascript">
                      $(document).scroll(function() {
                                      var windowHeight = $(window).height() / 7;
                                      var scroll = $(window).scrollTop();
                                      if (scroll > windowHeight) {
                                      } else {
      As you can see, it is a very simple script.. Any help on this matter will be greatly appreciated.