im trying to display a specific widget i need for the header current im using a code to display all widgets but my problem is that if I add additional widgets it will destroy my site.
<?php dynamic_sidebar( 'sidebar2' ); ?>
<?php else : ?>
<!-- This content shows up if there are no widgets defined in the backend. -->
<div class="alert-box">Please activate some Widgets.</div>
<?php endif; ?>
code im using..
im trying to display this widget
i tried to use this code to call the widget but nothing happens I must be putting the wrong name of the widget or the code. i don't about backend code.
<?php the_widget( 'WP_Language_Switcher' ); ?>
<?php the_widget( 'WP_Language_Switcher' ); ?>
I'm using this code btw