Thread Starter
Josh
(@joshuammott)
I figured this out. I’m using the Lightbox Plus Colorbox plugin and the Inline Lightbox Settings
In the Peanut Butter Bar plugin editor in “pbb-bar-builder.php” I replaced this line:
$linkmodule_html = sprintf('<span class="pbb-text pbb-module">%s<a href="%s"%s%s%s>%s</a>%s</span>'
with this line:
$linkmodule_html = sprintf('<span class="pbb-text pbb-module lbp-inline-link-1">%s<a href="%s"%s%s%s>%s</a>%s</span>'
In the Peanut Butter Bar settings page I placed a hash symbol in the “Link Url” field
and in my footer.php just before the closing body tag I placed this code:
<div style="display:none">
<div id="lbp-inline-href-1" style="padding: 10px; background:#fff">Your Unique Content</div>
</div>
</div>
and tah-dah!
Hi Josh,
sorry for the delay. I don’t seem to get notifications of posts here.
Glad you got it figured out.
Just be aware that changes the base plugin files, you will either need to avoid updates or make the change every time. I’m working on an update with a few features that should be done this week. It looks like all you needed to do was add a class to the link. I added a box for the class, so you should be able to configure it without a change now.
Cheers,
Andy