<span class="meta date"><?php the_time('F jS, Y') ?></span>
</header>
<?php echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
- <!--the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;');-->
- <!-- This could be wrapped in php tags and be functional,
- but it is easier to change this in admin side-->
-<!-- <footer class="entry-meta small-12 medium-6 medium-push-3 center">
- <?php // $post_categories = wp_get_post_categories( get_the_ID() );
-// $cats = array();
-// echo 'This entry was posted ';
-// if (has_category()) {
-// echo 'in';
-// foreach($post_categories as $c){
-// $cat = get_category( $c );
-// $cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug );
-// echo ', <a rel="category" title="View all posts in '. $cat->name . ' " href="'. $cat->slug .'">'. $cat->name .'</a>';
-// }
-// echo '.';
-// }
-// ?>
- </footer>-->
</article>
</div>
</div>
+<?php
+ global $post;
+ $categories = get_the_category($post->ID);
+ print_r(get_the_category($post->ID));
+?>
<div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-4 columns">
<div id="blog-side-info">
<form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
--- /dev/null
+
+ <div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-4 columns">
+ <div id="blog-side-info">
+ <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
+ <div><input id="s" class="text" type="text" name="s" value="" />
+ <input class="submit blogbutton" type="submit" name="submit" value="Search" />
+ <input type="hidden" name="searchType" value="blog" /> </div>
+ </form>
+ <h2>Recent Posts</h2>
+ <ul>
+ <?php
+ $args = array(
+ 'posts_per_page' => 5,
+ 'category' => '53',
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ 'post_type' => 'post',
+ 'post_status' => 'publish',
+ 'suppress_filters' => true,
+
+ );
+
+ $epicenter_blog = get_posts( $args );
+ // print_r($epicenter_blog);
+ $args = array('id' => '53', 'numberposts' => '5', 'post_status' => 'publish' );
+ $recent_posts = wp_get_recent_posts( $args );
+ foreach( $epicenter_blog as $recent ){
+ echo '<li><a href="' . get_permalink($recent->ID) . '">' . $recent->post_title .'</a> </li> ';
+ }
+ ?>
+ </ul>
+ <h2>Archive</h2>
+ <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
+
+ </div>
+ </div>
\ No newline at end of file
/*
Template Name: RSS Feed Blog
*/
+
+get_header();
+global $post;
?>
-<?php get_header(); ?>
<main class="blog-home">
<div id="head-img">
<div class="featured-image" style="background: url('<?php echo get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
</article> -->
<?php get_template_part('parts/reservation-form');?>
<div class="row">
+ <div style="padding: 20px 0 0 50px" id="epicenter-logo-header">
+ <img src="<?php echo get_template_directory_uri(); ?>/assets/logo-epicenter.png" alt="">
+ </div>
<div id="blog-posts-over" class="small-12 medium-8 columns">
<?php query_posts('cat=53&posts_per_page=4'); ?>
<?php if(have_posts()) : while(have_posts()): the_post();?>
<?php endif;?>
<?php wp_reset_query(); ?>
</div>
- <?php get_template_part('parts/blog-sidebar-r'); ?>
- <?php get_template_part('parts/interior-footer'); ?>
+ <?php
+ if($post->ID == 9870) :
+ get_template_part('parts/blog-sidebar-rss');
+ else :
+ get_template_part('parts/blog-sidebar-r');
+ endif ;
+ get_template_part('parts/interior-footer');
+ ?>
</div>
<?php get_footer(); ?>
\ No newline at end of file