Missing close div causes html to break
-
My site layout was broken, finally I found that $after_widget may be missing in some case (no idea). So I hard-coded the close tag…
<div class="widget-body"> <?php $args = array( 'after_widget' => '', // remove this value 'widget_id' => '5', 'width' => '45px', 'height' => '45px', ); the_widget('ftRecentViewedPosts', '', $args); ?></div> <!-- this div close tag has issue --> </div>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Missing close div causes html to break’ is closed to new replies.