function.php function add_footer_more_init(){ register_sidebar(array( 'name'=> 'New footer My', 'id'=> 'new_footer_area', 'before_widget'=> '<aside>', 'after_widget'=> '</aside>', 'before_title'=> '<h3 class="widget-title">', 'after_title'=> '</h3>', )); } add_action('widgets_init', 'add_footer_more_init'); sidebar-footer.php <div id="my_here_code"> <div class="container"> <div class="row"> <?php if(dynamic_sidebar('new_footer_area')): else : endif; ?> </div> </div> </div>
Wednesday, 17 October 2018
add widget in wordpress
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment