forked from rememberlenny/WooThemes-Canvas-Foundation-Zombie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-biz.php
142 lines (121 loc) · 4.42 KB
/
template-biz.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?php
/**
* Template Name: Business
*
* The business page template displays your posts with a "business"-style
* content slider at the top.
*
* @package WooFramework
* @subpackage Template
*/
global $woo_options, $wp_query;
get_header();
$page_template = woo_get_page_template();
?>
<!-- #content Starts -->
<?php woo_content_before(); ?>
<div id="content" class="twelve business">
<div id="main-sidebar-container"> <!-- #main Starts -->
<div id="slider-home" class="slides push-two eight columns pull-two text-center">
<h2 class="title"><?php the_field('slide_maintitle'); ?></h2>
<h3><?php the_field('slide_subtitle'); ?></h3>
<div class="four columns">
<div class="text-center category-option link-block">
<a href="<?php the_field('home_link_1')?>">
<div><img class="round-image" src="<?php the_field('thumb_fiber_image'); ?>" alt="" /></div>
<h2><?php the_field('title1')?></h2>
</div>
</a>
</div>
<div class="four columns">
<a href="<?php the_field('home_link_2')?>">
<div class="text-center category-option link-block">
<div><img class="round-image" src="<?php the_field('thumb_kit_image'); ?>" alt="" /></div>
<h2><?php the_field('title2')?></h2>
</div>
</a>
</div>
<div class="four columns">
<a href="<?php the_field('home_link_3')?>">
<div class="text-center category-option link-block">
<div><img class="round-image" src="<?php the_field('thumb_tool_image'); ?>" alt="" /></div>
<h2><?php the_field('title3')?></h2>
</div>
</a>
</div>
</div>
</div>
<div id="mailbox" class="">
<!- Gravity Forms Code Goes in template-biz.php in #mailbox ->
</div>
<?php woo_main_before(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="">
<div class="twelve sliderfollow">
<div class="twelve columns linkBlock">
<div class="row">
<div class="six columns">
<div class="linkModule">
<div class="row">
<div class="four columns mobile-four">
<h3><a href="<?php the_field('home_link_1')?>"><?php the_field('title1'); ?></a></h3>
</div>
</div>
<p><?php the_field('description1'); ?></p>
<a href="<?php the_field('home_link_1')?>" class="text-center large button" title="<?php the_field('title1'); ?> button"><?php the_field('view_catalog_button1'); ?></a>
</div>
</div>
<div class="six columns hide-for-small">
<img src="<?php the_field('image1'); ?>" class="" />
</div>
</div>
</div>
<!-- End First -->
<!-- Second -->
<div class="twelve columns linkBlock">
<div class="row">
<div class="push-six six columns">
<div class="linkModule">
<div class="row">
<div class="four columns mobile-four">
<h3><a href="<?php the_field('home_link_2')?>"><?php the_field('title2'); ?></a></h3>
</div>
</div>
<p><?php the_field('description2'); ?></p>
<a href="<?php the_field('home_link_2')?>" class="text-center large button" title="<?php the_field('title2'); ?> button"><?php the_field('view_catalog_button2'); ?></a>
</div>
</div>
<div class="pull-six six columns hide-for-small">
<img src="<?php the_field('image2'); ?>" class="" />
</div>
</div>
</div>
<!-- End Second -->
<!-- Third -->
<div class="twelve columns linkBlock block-last">
<div class="row">
<div class="six columns">
<div class="linkModule">
<div class="row">
<div class="four columns mobile-four">
<h3><a href="<?php the_field('home_link_3')?>"><?php the_field('title3'); ?></a></h3>
</div>
</div>
<p><?php the_field('description3'); ?></p>
<a href="<?php the_field('home_link_3')?>" class="text-center large button" title="<?php the_field('title3'); ?> button"><?php the_field('view_catalog_button3'); ?></a>
</div>
</div>
<div class="six columns hide-for-small">
<img src="<?php the_field('image3'); ?>" class="" />
</div>
</div>
</div>
<!-- End Third -->
</div>
<?php endwhile; // end of the loop. ?>
<?php woo_main_after(); ?>
</div><!-- /#main-sidebar-container -->
<?php get_sidebar( 'alt' ); ?>
</div><!-- /#content -->
<?php woo_content_after(); ?>
<?php get_footer(); ?>