Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rfgoetz

    (@rfgoetz)

    Thanks — found a defect.

    look in wp-topbar.php

    There are two places that you have to change this:

    echo '<a href="'.$wptbOptions['social_icon'.$i.'_link'].'" target="_'.$wptbOptions['link_target'].'"><img src="'.$wptbOptions['social_icon'.$i.'_image'].'" style="'.trim($wptbOptions['social_icon'.$i.'_css']).'"/></a>';

    to this:

    echo '<a href="'.$wptbOptions['social_icon'.$i.'_link'].'" target="_'.$wptbOptions['social_icon'.$i.'_link'_target].'"><img src="'.$wptbOptions['social_icon'.$i.'_image'].'" style="'.trim($wptbOptions['social_icon'.$i.'_css']).'"/></a>';

    Again, you have to do this in two places.

    I will fix it in the next release.

    Thanks for finding this!

    Thread Starter l w

    (@leslielaortedu)

    Thanks, Bob but Dreamweaver shows the new line of code as an error. What can be causing that?

    Plugin Author rfgoetz

    (@rfgoetz)

    Hmm.. try this… single quote was in the wrong place.

    echo '<a href="'.$wptbOptions['social_icon'.$i.'_link'].'" target="_'.$wptbOptions['social_icon'.$i.'_link_target'].'"><img src="'.$wptbOptions['social_icon'.$i.'_image'].'" style="'.trim($wptbOptions['social_icon'.$i.'_css']).'"/></a>';

    I’ll be posting a new version with this fix over the weekend.

    Bob

    Thread Starter l w

    (@leslielaortedu)

    That did it, Bob! Thank you.

    Plugin Author rfgoetz

    (@rfgoetz)

    Great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Social Button links’ is closed to new replies.