[Plugin: Shadowbox JS] Shadowbox Stopped Working
-
We’ve been using the Shadowbox JS plug-in as a better alternative to manually entering a shadowbox code into the “rel field” in the image settings pop-up. All was working fine up through April 5th. Here is a sample of the code that previously worked fine:
<div id="attachment_2604" class="wp-caption alignleft" style="width: 561px"><a href="http://nichemodern-cdn.s3.amazonaws.com/blog/wp-content/uploads/2011/04/michael-niven-interior-design-niche-modern-pod-pendants.jpg" rel="shadowbox[post-2531];player=img;"><img class="size-full wp-image-2604 " title="Niche Modern Pod Pendant Lights in a Michael Niven Interior" src="http://nichemodern-cdn.s3.amazonaws.com/blog/wp-content/uploads/2011/04/michael-niven-interior-design-niche-modern-pod-pendants.jpg" alt="Pod Pendant Lights featured in a Michael Niven project" width="551" height="410" /></a><p class="wp-caption-text">The Pod Light in Michael Niven's Scenic III Condominiums</p></div> </div>Here is a code sample of a new image that does not launch shadowbox:
<div id="attachment_2788" class="wp-caption alignnone" style="width: 534px"><a rel="attachment wp-att-2788" href="http://www.nichemodern.com/blog/building-niche-modern-glass-studio-beacon/niche-modern-glass-studio-view-mezzanine/attachment/niche-modern-glass-studio-mezzanine-view/"><img class="size-full wp-image-2788 " title="View from the mezzanine" src="http://nichemodern-cdn.s3.amazonaws.com/blog/wp-content/uploads/2011/04/niche-modern-glass-studio-mezzanine-view.jpg" alt="Mezzanine in view at the future Niche Modern Glass Studio" width="524" height="349" /></a><p class="wp-caption-text">A view from the mezzanine at the future Niche Modern Glass Studio</p></div> </div>If you notice, in the previous anchor tag, here is the shadowbox code:
rel="shadowbox[post-2531];player=img;In the latter anchor tag that doesn’t work, there is no shadowbox code and a new rel appears at the beginning of it:
rel="attachment wp-att-2788"From April 13th through today, something has changed that no longer activates the shadowbox plug-in and when clicking images, WordPress opens the image in a new post, url titled: ../blog/category/post-title/attachment/image-name/
This has never happened before and we have no idea what caused it? We’re using Headway 2.0.10, which we began using with the Shadowbox plug-in with no problems.
anchor tag there is an rel=”attachment wp-att-2788″ that does not appear
The topic ‘[Plugin: Shadowbox JS] Shadowbox Stopped Working’ is closed to new replies.