-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar-front.php
More file actions
58 lines (52 loc) · 1.75 KB
/
sidebar-front.php
File metadata and controls
58 lines (52 loc) · 1.75 KB
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
<?php
/**
* The sidebar containing the front page widget areas.
*
* If no active widgets in either sidebar, they will be hidden completely.
* Modified by Bethany Rentz for use on http://gardentraveler
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
/*
* The front page widget area is triggered if any of the areas
* have widgets. So let's check that first.
*
* If none of the sidebars have widgets, then let's bail early.
*/
if ( ! is_active_sidebar( 'sidebar-2' ) && ! is_active_sidebar( 'sidebar-3' ) )
return;
// If we get this far, we have widgets. Let do this.
?>
<div id="secondary" class="widget-area" role="complementary">
<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
<div class="first front-widgets">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div><!-- .first -->
<?php endif; ?>
<div class="fb-like" data-href="https://www.facebook.com/GardenTraveler" data-send="false" data-width="250" data-show-faces="false" data-font="segoe ui"></div>
<div class="gardenquote">
<h2>The Art of Gardening </h2>
<p>Visit extraordinary public and private gardens. Feed your imagination with the best garden books, magazines and artwork. And watch your garden grow.</p>
<p>-- The Garden Traveler</p>
</div>
<div class="breadcrumbs">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-6539312976102774";
/* GT 160x600 */
google_ad_slot = "1255912818";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
<div class="second front-widgets">
<?php dynamic_sidebar( 'sidebar-3' ); ?>
</div><!-- .second -->
<?php endif; ?>
</div><!-- #secondary -->