[SOLVED] html validation error with sidebar used twice on page
If I use the same sidebar twice on the same page (which I'm doing), I get an html validation error because Montezuma is giving the same id name to both <aside> tags. The html validator says:
Quote:
|
What slider is it
|
Quote:
<?php dynamic_sidebar( 'image-gallery' ); ?> It's producing this line of code each time I put that widget on a page: Code:
<aside id="execphp-2" class="widget widget_execphp cf"> Thanks. |
If you are creating two widget areas you need to name them differently. You should use
HTML Code:
<?php dynamic_sidebar( 'image-gallery-0' ); ?> HTML Code:
<?php dynamic_sidebar( 'image-gallery-1' ); ?> |
Quote:
Thanks. |
Quote:
|
All times are GMT -6. The time now is 10:45 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.