projects
/
WP-Themes
/
glmthemes
/
crawfordcounty-theme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a6564
)
Titles show up for single events (posts)
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 4 Sep 2015 17:56:57 +0000
(13:56 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 4 Sep 2015 17:56:57 +0000
(13:56 -0400)
single.php
patch
|
blob
|
history
diff --git
a/single.php
b/single.php
index
e2b4c28
..
4ce203d
100644
(file)
--- a/
single.php
+++ b/
single.php
@@
-5,6
+5,10
@@
<?php if(have_posts()) : while(have_posts()): the_post();?>
<div class="row blog-post-container">
<div class="small-11 small-centered columns">
+ <?php if (get_post_type( $post ) == "ai1ec_event") {
+ echo "<h1>" . get_the_title() . "</h1>";
+ }
+ ?>
<div class="row">
<div class="small-12 columns">
<article id="<?php the_ID()?>" <?php post_class()?>>