-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
100 lines (75 loc) · 4.34 KB
/
index.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
<?php get_header(); ?>
<?php
if (!is_single() && !is_page()) {
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts('cat=-461,-683&paged=' . $paged);
}
?>
<div class="container">
<div class="row">
<div class="col-lg-8 col-xs-12 bigcol">
<?php if (is_single() || is_page()): ?>
<ul class="pager" id="backhome">
<li class="previous"><a href="/">← Home</a></li>
</ul>
<?php endif; ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
if (get_the_title() != 'A date range picker for Twitter Bootstrap') {
add_filter('the_content', 'wpautop');
add_filter('the_content', 'wptexturize');
}
?>
<?php the_date('F j, Y', '<h2 class="postdate">', '</h2>'); ?>
<div class="post">
<?php if (get_the_title() != ''): ?>
<h2><a href="<?php the_permalink(); ?>" class="post-title"><?php the_title(); ?></a></h2>
<?php endif; ?>
<?php the_content(); ?>
<?php if (is_single() || is_page()): ?>
<div style="border-top: 1px dotted #ccc; padding-top: 20px; margin-top: 60px">
<?php comments_template(); ?>
</div>
<?php endif; ?>
</div>
<?php endwhile; ?>
<?php if ($wp_query->max_num_pages > 1): ?>
<ul class="pager">
<li class="previous"><?php next_posts_link('← Older posts'); ?></li>
<li class="next"><?php previous_posts_link('Newer posts →'); ?></li>
</ul>
<?php endif; ?>
</div><!-- //content column -->
<div class="col-lg-4 col-xs-12">
<div id="bio">
<p>
I'm <b>Dan Grossman</b>, the sole developer behind <a href="https://www.improvely.com">Improvely</a> and
<a href="http://www.w3counter.com">W3Counter</a>.
</p>
<p>
You can follow me online —
</p>
<ul class="list-group icon-list">
<li class="list-group-item"><a href="http://github.com/dangrossman"><i class="fa fa-github fa-lg"></i> github</a></li>
<li class="list-group-item"><a href="http://news.ycombinator.com/user?id=dangrossman"><i class="fa fa-hacker-news fa-lg"></i> hacker news</a></li>
<li class="list-group-item"><a href="http://www.linkedin.com/in/dangrossmanawio"><i class="fa fa-linkedin-square fa-lg"></i> linkedin</a></li>
<li class="list-group-item"><a href="http://www.dangrossman.info/feed/"><i class="fa fa-lg fa-rss"></i> RSS</a></li>
</ul>
<p>Past work & open source —</p>
<ul class="list-group icon-list">
<li class="list-group-item"><a href="http://www.daterangepicker.com/"><i class="fa fa-lg fa-calendar"></i> Date Range Picker</a></li>
<li class="list-group-item"><a href="http://www.websitegoodies.com/"><i class="fa fa-lg fa-wrench"></i> Website Goodies</a></li>
<li class="list-group-item"><a href="http://www.visitorboost.com/"><i class="fa fa-lg fa-line-chart"></i> Visitor Boost</a></li>
<li class="list-group-item"><a href="https://apps.shopify.com/improved-contact-form"><i class="fa fa-lg fa-pencil"></i> Improved Contact Form</a></li>
<li class="list-group-item"><a href="http://www.bookmarkly.com/"><i class="fa fa-lg fa-bookmark"></i> Bookmarkly</a> — <a href="https://github.com/dangrossman/bookmarkly">Code</a></li>
<li class="list-group-item"><a href="https://wordpress.org/plugins/calais-auto-tagger/"><i class="fa fa-lg fa-tags"></i> WordPress Auto Tagger</a></li>
<li class="list-group-item"><a href="https://github.com/dangrossman/PHP-OpenCalais"><i class="fa fa-lg fa-tag"></i> OpenCalais PHP Library</a></li>
<li class="list-group-item"><a href="http://www.dangrossman.info/2013/08/02/a-frontend-ui-for-the-spreedly-core-api/"><i class="fa fa-lg fa-bank"></i> Spreedly Vault Viewer</a></li>
<li class="list-group-item"><a href="http://www.dangrossman.info/2011/01/15/more-free-code-node-searchparser/"><i class="fa fa-lg fa-search"></i> node-searchparser</a></li>
<li class="list-group-item"><a href="http://www.dangrossman.info/2010/10/11/a-browscap-ini-parser-in-javascript/"><i class="fa fa-lg fa-desktop"></i> node-browscap</a></li>
</ul>
</div>
</div><!-- //bio column -->
</div><!-- //row -->
</div><!-- //container -->
<?php get_footer(); ?>