Gerbz Logo

Open For Business

Gerbz LLC is a transparent lifestyle business incubator. We're sharing what we learn as we validate our process for evaluating and transforming ideas into successful businesses.

Our Mission

Fix For Pinterest On Hover Pins In WordPress

Having trouble getting the Pinterest On Hover Pin to line up properly on your WordPress site? Turns out it’s due to that pesky WordPress Admin Toolbar. Here’s how to fix it:

  1. Log into your WordPress Site
  2. Hover over “Users” on the left and click on “Your Profile”
  3. Uncheck the box that says “Show Toolbar when viewing site”
  4. Click “Update Profile” button at the bottom.

Thats it. Reload the page and your buttons should be lining up nicely.

Pinterest Button WordPress Fix

Now, can anyone tell me how to add an attribute to a script tag when using the wp_register_script WordPress function? I need to turn this:

<script type="text/javascript" src="//"></script>

into this

<script type="text/javascript" src="//" data-pin-hover="true"></script>