-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-sub-resources.php
40 lines (39 loc) · 1.21 KB
/
page-sub-resources.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
<?php
/**
* Template Name: Resources Subage
*
* The template for displaying Labtech pros page.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package Signet Armorlite
* @subpackage signet
* @since signet 1.0
*/
get_header();
$page_id = 0;
?>
<div id="container">
<div class="top_box_labtech">
<div class="top_img_txt_lab">
<h1 style="color:#CCC"><?php echo get_post_meta(get_the_ID(), 'Image-text', true); ?></h1>
</div>
<img src="<?php bloginfo('template_directory') ?>/images/labtech_back.jpg" />
</div>
<div id="labtech" class="page_sidebar resources_bar">
<?php dynamic_sidebar( 'resources-widget-area' ); ?>
</div>
<div id="main_content" role="main">
<div id="main_content_sub">
<?php if ( have_posts() ): while ( have_posts() ) : the_post(); $page_id = get_the_ID();?>
<div class="labtech_title"><?php the_title() ?></div>
<?php the_content(); ?>
<?php endwhile; endif; ?>
<div class="clear"></div>
</div>
</div><!-- #content -->
</div><!-- #container -->
<?php get_footer(); ?>