-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar-bottom.php
executable file
·56 lines (50 loc) · 1.25 KB
/
sidebar-bottom.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/**
* Footbar sidebar template.
*
* @package Responsive_Framework
*/
$footbar = responsive_get_footbar_id();
if ( is_registered_sidebar( $footbar ) && is_active_sidebar( $footbar ) ) :
/**
* Fires immediately before the opening footbar sidebar container element.
*
* @since 2.0.0
*/
do_action( 'r_sidebar_footbar_opening_before' );
?>
<aside class="footbar <?php responsive_sidebar_classes( $footbar ); ?>" role="complementary">
<h2 class="u-visually-hidden">
<?php
/* translators: %s: Site name. */
printf( esc_html__( 'More about %s', 'responsive-framework' ), esc_html( get_bloginfo( 'name' ) ) );
?>
</h2>
<?php
/**
* Fires immediately after the opening footbar sidebar container element.
*
* @since 2.0.0
*/
do_action( 'r_sidebar_footbar_opening_after' );
?>
<div class="footbar-container">
<?php dynamic_sidebar( $footbar ); ?>
</div>
<?php
/**
* Fires immediately before the closing footbar sidebar container element.
*
* @since 2.0.0
*/
do_action( 'r_sidebar_footbar_closing_before' );
?>
</aside>
<?php
/**
* Fires immediately after the closing footbar sidebar container element.
*
* @since 2.0.0
*/
do_action( 'r_sidebar_footbar_closing_after' );
endif;