plugin outputting broken code?
-
Hi,
I just installed your plugin and created a sidebar widget. I think it may be outputting broken html, which is resulting in all other widgets which are lower in my sidebar getting displayed outside of the sidebar. Here’s the code that’s being output; as you can see, there is a superfluous div end-tag in your widget. (I fixed line throws and indentation to make the code easier to read, but otherwise it is exactly as it was output.) That div end-tag is “ending” the sidebar prematurely and throwing everything off.
<div id="primary" class="aside main-aside"> <ul class="xoxo"> <li id="sb-easy-image-widget-2" class="widget-1 widget-first widget-odd sidebar-image-widget widgetcontainer widget-sb-easy-image"> <style type="text/css"># .gallery-caption { display: none !important; }</style> <dl class='gallery-item'> <dt class='gallery-icon landscape'> <img width="285" height="222" src="https://ourdomain.org/wp-content/uploads/2015/07/sb-river.jpg" class="attachment-full" alt="sb-river" /> </dt> </dl><br style="clear: both" /> </div> </li> <li id="black-studio-tinymce-2" class="widget-2 widget-last widget-even sponsors-widget widgetcontainer widget_black_studio_tinymce"> <div class="textwidget"> <h4>Sponsors</h4> <p>Learn about our<br /><a href="/sponsorship-opportunities/">sponsorship opportunities</a>.</p> </div> </li> </ul> </div>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘plugin outputting broken code?’ is closed to new replies.