what add in footer menus widgets php

Solutions on MaxInterview for what add in footer menus widgets php by the best coders in the world

showing results for - "what add in footer menus widgets php"
Monica
21 Oct 2018
1/* add in footer-menus-widgets.php  */
2
3<?php if ( $has_sidebar_1 || $has_sidebar_2 || $has_sidebar_3 || $has_sidebar_4 ) { ?>
4
5				<aside class="footer-widgets-outer-wrapper" role="complementary">
6
7					<div class="footer-widgets-wrapper">
8
9						<?php if ( $has_sidebar_1 ) { ?>
10
11							<div class="footer-widgets column-one grid-item">
12								<?php dynamic_sidebar( 'sidebar-1' ); ?>
13							</div>
14
15						<?php } ?>
16
17						<?php if ( $has_sidebar_2 ) { ?>
18
19							<div class="footer-widgets column-two grid-item">
20								<?php dynamic_sidebar( 'sidebar-2' ); ?>
21							</div>
22
23						<?php } ?>
24						
25						<?php if ( $has_sidebar_3 ) { ?>
26						
27							<div class="footer-widgets column-three grid-item">
28								<?php dynamic_sidebar( 'sidebar-3' ); ?>
29						</div>
30						<?php } ?>
31						
32						<?php if ( $has_sidebar_4 ) { ?>
33							
34							<div class="footer-widgets column-four grid-item">
35								<?php dynamic_sidebar( 'sidebar-4' ); ?>
36						</div>
37						
38						<?php } ?>
39
40					</div><!-- .footer-widgets-wrapper -->
41
42				</aside><!-- .footer-widgets-outer-wrapper -->
43
44			<?php } ?>
45  
46  
47  /*   add in functions.php   */
48  
49  register_sidebar( array(
50	'name' => 'Footer #3',
51	'id' => 'sidebar-3',
52	'description' => 'Appears in footer area',
53	'before_widget' => '<div id="%1$s" class="widget %2$s">',
54	'after_widget' => '</div>',
55	'before_title' => '<h3 class="widget-title">',
56	'after_title' => '</h3>',
57	) );
58	register_sidebar( array(
59	'name' => 'Footer #4',
60	'id' => 'sidebar-4',
61	'description' => 'Appppears in footer area',
62	'before_widget' => '<div id=%1$s" class="widget %2$s">',
63	'after_widget' => '</div>',
64	'before_title' => '<h3 class="widget-title">',
65	'after_title' => '</h3>',
66	) );
67  
68
69/*  end          ****************/