-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar-home.php
68 lines (52 loc) · 3.1 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
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;
/**
* Home Widgets Template
*
*
* @file sidebar-home.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2013 ThemeID
* @license license.txt
* @version Release: 1.0
* @filesource wp-content/themes/responsive/sidebar-home.php
* @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29
* @since available since Release 1.0
*/
?>
<?php responsive_widgets_before(); // above widgets container hook ?>
<div id="widgets" class="home-widgets">
<div class="grid col-home">
<?php responsive_widgets(); // above widgets hook ?>
<?php if (!dynamic_sidebar('home-widget-1')) : ?>
<div class="widget-wrapper">
<div class="widget-title-home"><h3><?php _e('Home Widget 1', 'responsive'); ?></h3></div>
<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'); ?></div>
</div><!-- end of .widget-wrapper -->
<?php endif; //end of home-widget-1 ?>
<?php responsive_widgets_end(); // responsive after widgets hook ?>
</div><!-- end of .col-300 -->
<div class="grid col-home">
<?php responsive_widgets(); // responsive above widgets hook ?>
<?php if (!dynamic_sidebar('home-widget-2')) : ?>
<div class="widget-wrapper">
<div class="widget-title-home"><h3><?php _e('Home Widget 2', 'responsive'); ?></h3></div>
<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'); ?></div>
</div><!-- end of .widget-wrapper -->
<?php endif; //end of home-widget-2 ?>
<?php responsive_widgets_end(); // after widgets hook ?>
</div><!-- end of .col-300 -->
<div class="grid col-home fit">
<?php responsive_widgets(); // above widgets hook ?>
<?php if (!dynamic_sidebar('home-widget-3')) : ?>
<div class="widget-wrapper">
<div class="widget-title-home"><h3><?php _e('Home Widget 3', 'responsive'); ?></h3></div>
<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'); ?></div>
</div><!-- end of .widget-wrapper -->
<?php endif; //end of home-widget-3 ?>
<?php responsive_widgets_end(); // after widgets hook ?>
</div><!-- end of .col-300 fit -->
</div><!-- end of #widgets -->
<?php responsive_widgets_after(); // after widgets container hook ?>