-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome-page.php
executable file
·94 lines (94 loc) · 4.65 KB
/
home-page.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
<?php
/*
Template Name: Home Page
*/
?>
<?php get_header(); ?>
<!--home page-->
<?php $args = array ('ignore_sticky_posts'=>'1', 'posts_per_page'=>'5');
$featuredPost = new WP_Query($args); ?>
<div class="content">
<div class="body">
<div class="padding">
<div class="row top">
<hgroup class="pagehead">
<h1 class="pagetitle">Weekly Featured Content For</h1>
<p>Blah blah blah</p>
</hgroup>
<?php wp_nav_menu( array( 'container_class' => 'menu', 'theme_location' => 'HomePage' ) ); ?>
</div>
<div class="row">
<aside class="featured-topic col span3">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("email") ) : ?>
email
<?php endif; ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("extra1") ) : ?>
<?php endif; ?>
<div class="featured-post">
<h2 class="main">The Blog</h2>
<?php if ($featuredPost->have_posts()) : ?>
<?php while ($featuredPost->have_posts() ) : $featuredPost->the_post(); ?>
<h3 class="topTitle"><a href="<?php the_permalink() ?>">
<?php the_title(); ?>
</a></h3>
<?php
$zero ='0 comments';
$one = '1 comment';
$more = '% comments';?>
<a href="<?php comments_link(); ?>">
<?php comments_number( $zero, $one, $more ); ?>
</a>
<?php endwhile; ?>
<?php endif; ?>
</div>
<div class="the-core">
<h2 class="main">The Core</h2>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("The_Core") ) : ?>
The Core
<?php endif; ?>
</div>
<div class="lli">
<h2 class="main">LLI</h2>
LLI
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("extra2") ) : ?>
<?php endif; ?>
</div>
</aside>
<section class="central-column add-border col span6">
<!--[if lte IE 7]> <h2>Your browser is outdated. For the best experience, please <a href="http://www.mozillia.com">get Firefox</a> or <a href="https://www.google.com/chrome/">Google Chrome</a><h2><![endif]-->
<div class="central-question">
<h2>The Central Issues in Christianity and Culture</h2>
<h3>Who holds the moral High ground?</h3>
<p>Who holds the high ground? Curabitur blandit tempus porttitor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur.</p>
<a href="http://www.thinkingchristian.net/the-high-ground/"><img src="http://www.thinkingchristian.net/wp-content/themess/ThinkingChristianTheme-new/images/Ouray-Colorado-Tom-Gilson-Photo.jpg" width="500" height="283" alt="Ouray, Colorado, Photo by Tom Gilson"></a>
<h3>Gay "Marriage"</h3>
<p>More about the Central Question... Curabitur blandit tempus porttitor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur.</p>
<a href="http://www.flickr.com/photos/amslerpix/6798744191/" title="Derick & Jessica by amslerPIX, on Flickr"><img src="http://farm8.staticflickr.com/7172/6798744191_aa482e87d7_n.jpg" width="320" height="214" alt="Derick & Jessica"></a>
</div>
</section>
<aside class="book-review col span3">
<?php get_search_form() ?>
<!-- <div class="true-reason"> -->
<h2 class="main">True Reason</h2>
<img src="http://www.thinkingchristian.net/wp-content/images/TrueReason.jpg" class="alignright">
<small>"The New Atheists claim to be the party of reason.... The problem is, they're not very good at it." — Discover the provocative ebook <a href="http://book.truereason.org/"><em>True Reason: Christian Responses to the Challenge of Atheism.</em></a></small>
<!-- </div> -->
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("extra3") ) : ?>
<?php endif; ?>
<h2 class="main">Book Review</h2>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("bookReview") ) : ?>
Book Review
<?php endif; ?>
<div class="llm">
<h2 class="main">LLM</h2>
LLM
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("extra4") ) : ?>
<?php endif; ?>
</div>
</aside>
</div>
</div>
</div>
</div>
<!-- Closes Main -->
<?php get_footer(); ?>