-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsidebar-home.php
68 lines (52 loc) · 2.84 KB
/
sidebar-home.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
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
* Sidebar Home
*
* Displays on the Home Page
*
* @package responsive_mobile
* @license license.txt
* @copyright 2014 CyberChimps Inc
* @since 0.0.1
*
* Please do not edit this file. This file is part of the responsive_mobile Framework and all modifications
* should be made in a child theme.
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
responsive_mobile_widgets_before(); // above widgets container hook ?>
<div id="widgets" class="home-widgets">
<div id="home_widget_1" class="home-widget">
<?php responsive_mobile_widgets(); // above widgets hook ?>
<?php if( !dynamic_sidebar( 'home-widget-1' ) ) : ?>
<aside class="widget-wrapper">
<h3 class="widget-title-home"><?php _e( 'Home Widget 1', 'responsive-mobile' ); ?></h3>
<div class="textwidget"><?php _e( 'This is your first home widget box. To edit please go to Appearance > Widgets and choose 6th widget from the top in area 6 called Home Widget 1. Title is also manageable from widgets as well.', 'responsive-mobile' ); ?></div>
</aside><!-- end of .widget-wrapper -->
<?php endif; //end of home-widget-1 ?>
<?php responsive_mobile_widgets_end(); // responsive after widgets hook ?>
</div><!-- home-widget-1 -->
<div id="home_widget_2" class="home-widget">
<?php responsive_mobile_widgets(); // responsive above widgets hook ?>
<?php if( !dynamic_sidebar( 'home-widget-2' ) ) : ?>
<aside class="widget-wrapper">
<h3 class="widget-title-home"><?php _e( 'Home Widget 2', 'responsive-mobile' ); ?></h3>
<div class="textwidget"><?php _e( 'This is your second home widget box. To edit please go to Appearance > Widgets and choose 7th widget from the top in area 7 called Home Widget 2. Title is also manageable from widgets as well.', 'responsive-mobile' ); ?></div>
</aside><!-- end of .widget-wrapper -->
<?php endif; //end of home-widget-2 ?>
<?php responsive_mobile_widgets_end(); // after widgets hook ?>
</div><!-- home-widget-2 -->
<div id="home_widget_3" class="home-widget">
<?php responsive_mobile_widgets(); // above widgets hook ?>
<?php if( !dynamic_sidebar( 'home-widget-3' ) ) : ?>
<aside class="widget-wrapper">
<h3 class="widget-title-home"><?php _e( 'Home Widget 3', 'responsive-mobile' ); ?></h3>
<div class="textwidget"><?php _e( 'This is your third home widget box. To edit please go to Appearance > Widgets and choose 8th widget from the top in area 8 called Home Widget 3. Title is also manageable from widgets as well.', 'responsive-mobile' ); ?></div>
</aside><!-- end of .widget-wrapper -->
<?php endif; //end of home-widget-3 ?>
<?php responsive_mobile_widgets_end(); // after widgets hook ?>
</div><!-- home-widget-3 -->
</div><!-- end of #widgets -->
<?php responsive_mobile_widgets_after(); // after widgets container hook ?>