Project

General

Profile

Support #2249 » page.php

erin glass, 2012-11-26 04:03 PM

 
1
<?php 
2
	get_header(); 
3
?>
4

    
5
	<!--SITE CONTENTS-->
6
	<div id="site-contents">
7

    
8
		<?php
9
			if(get_option('luna_hide_welcome')!="true") {
10
				?>
11
				<!--SLIDE TEXT-->
12
				<div class="slide-text">
13
					<h1><?php echo get_option( 'luna_welcome_title' ); ?></h1>
14
					<span class="subtext"><?php echo get_option( 'luna_welcome_subtitle' ); ?></span>
15
				</div>
16
				<?php
17
			}
18
		?>
19

    
20

    
21
		<!--INSIDE CONTENT-->
22
		<div class="inside-content clear">
23

    
24
			<!--LEFT CONTAINER-->
25
			<div class="left-container">
26

    
27
				<!--PAGE CONTENT-->
28
				<div class="page-content">
29
					<h5><?php the_title(); ?></h5>
30
					<div>
31
						<?php 
32
							if (have_posts()) : 
33
								while (have_posts()) : the_post(); 
34
									the_content(); 								
35
								endwhile; 
36
							endif;
37
						?>
38
					</div>
39
				</div>	
40

    
41
			</div>
42

    
43
			<div class="sidebar">
44
				<?php
45
					if($sidebar_choice == "Default") {
46
						get_sidebar();
47
					}else {
48
						get_custom_sidebar(); 
49
					}
50
				?>
51
			</div>
52

    
53
		</div>
54

    
55
	</div>
56
	
57

    
58
<?php get_footer(); ?>
(1-1/2)