register sidebar

Solutions on MaxInterview for register sidebar by the best coders in the world

showing results for - "register sidebar"
Lara
06 Apr 2019
1<?php if ( is_active_sidebar( 'your-sidebar-slug' ) ) { ?>
2    <ul id="sidebar">
3        <?php dynamic_sidebar('your-sidebar-slug'); ?>
4    </ul>
5<?php } ?>
6