-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-services.php
112 lines (102 loc) · 3.42 KB
/
single-services.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
<?php
/*
Template Name: Services
*/
get_header();
function getActiveClass($pageID) {
if($pageID == get_the_ID()) print 'active';
}
?>
<div id="primary" class="site-content">
<div id="content" role="main">
<div class="row top">
<div class="offset1 span4">
<?php get_template_part('templates/page', 'header'); ?>
<div class="intro">
<p>Alta Vista has the solutions to service our clients’ needs on projects worldwide, including infrastructure transit systems, highways, tunnels, bridges and high-speed rail systems.</p>
<p>In all sectors, our disciplines include Engineering, Program Management, Quality Management, Surveying, Inspection and Testing, and Structural and Instrumentation Monitoring.</p>
<p>Explore each sector for the unique services and customer experience we are equipped to offer our clients.</p>
</div> <!-- intro -->
</div> <!-- end offset1 span4-->
<div class="span7">
<!-- IE 8 Navigation -->
<!--[if lt IE 9]>
<div class="row">
<div class="offset3 span4">
<?php
$defaults = array(
'theme_location' => '',
'menu' => 'services-nav',
'container' => 'false',
'container_class' => '',
'container_id' => '',
'menu_class' => 'menu',
'menu_id' => '',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul class="nav nav-list">%3$s</ul>',
'depth' => 0,
'walker' => ''
);
wp_nav_menu( $defaults );
?>
</div>
</div>
<![endif]-->
<!-- Modern Browser Navigation -->
<!--[if gt IE 8]><!-->
<?php
$defaults = array(
'theme_location' => '',
'menu' => 'services-nav',
'container' => 'false',
'container_class' => '',
'container_id' => '',
'menu_class' => 'menu',
'menu_id' => '',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
'before' => '<span>',
'after' => '</span>',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul class="circle-nav unstyled">%3$s</ul>',
'depth' => 0,
'walker' => ''
);
wp_nav_menu( $defaults );
?>
<!--<![endif]-->
</div> <!-- span6 -->
</div> <!-- row top -->
<div class="row bottom">
<div class="span12">
<div class="row">
<div class="offset1 span6">
<h2><?php echo get_the_title(); ?></h2>
</div>
</div> <!-- end row -->
<div class="row">
<div class="offset1 span3">
<?php echo (types_render_field("services", array("raw"=>"true"))); ?>
</div> <!-- end offset1 span2 -->
<div class="offset1 span6">
<?php while ( have_posts() ) : the_post(); ?>
<div class="entry-content">
<?php the_content(); ?>
</div>
<div class="entry-meta">
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-meta -->
<?php endwhile; // end of the loop. ?>
</div> <!-- end offset1 span6 -->
</div> <!-- end row -->
</div> <!-- end span12 -->
</div> <!-- end row bottom -->
</div><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>