<main class="blog-home">
<article <?php post_class() ?> id="interior">
<?php GLM_get_header(); ?>
- </article>
+ </article>
<div class="row">
<div id="blog-posts-over" class="small-12 medium-9 columns">
<?php if(have_posts()) : while(have_posts()): the_post();?>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
<span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
</header>
- <?php echo the_advanced_excerpt(); ?>
+ <?php echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
<footer class="entry-meta small-12 medium-6 medium-push-3 center">
<?php $post_categories = wp_get_post_categories( get_the_ID() );
$cats = array();
'order' => 'ASC'
);
$categories = get_categories($args);
- foreach($categories as $category) {
- echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
+ foreach($categories as $category) {
+ echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
?>
</ul>
</div>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
<span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
</header>
- <?php echo the_advanced_excerpt(); ?>
+ <?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,
+ <!-- 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() );
'order' => 'ASC'
);
$categories = get_categories($args);
- foreach($categories as $category) {
- echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
+ foreach($categories as $category) {
+ echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
?>
</ul>
</div>
</div>
<?php get_footer(); ?>
-
-
+
+
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
<span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
</header>
- <?php echo the_advanced_excerpt(); ?>
+ <?php echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
<footer class="entry-meta small-12 medium-6 medium-push-3 center">
<?php
if (has_category()) {
'order' => 'ASC'
);
$categories = get_categories($args);
- foreach($categories as $category) {
- echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
+ foreach($categories as $category) {
+ echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
?>
</ul>
</div>