<!--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 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>
+<!-- </footer>-->
</article>
</div>
</div>
<?php endforeach; ?>
</div>
-
+
<?php } ?>
<?php } ?>
\ No newline at end of file
'taxonomy' => 'member-post-category',
'hide_empty' => false,
) );
- if ( count($cats) > 0 ) {
+// if ( count($cats) > 0 ) {
?>
- <h3>Categories</h3>
- <ul>
+<!-- <h3>Categories</h3>-->
+<!-- <ul>-->
<?php
- foreach($cats as $cat) {
- echo '<li><a href="' . get_category_link( $cat->term_id ) . '" title="' . sprintf( __( "View all member posts in %s" ), $cat->name ) . '" ' . '>' . $cat->name.'</a> </li> ';
- }
+// foreach($cats as $cat) {
+// echo '<li><a href="' . get_category_link( $cat->term_id ) . '" title="' . sprintf( __( "View all member posts in %s" ), $cat->name ) . '" ' . '>' . $cat->name.'</a> </li> ';
+// }
?>
- </ul>
- <?php } ?>
+<!-- </ul>-->
+ <?php //} ?>
<h3>Archive</h3>
<ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, 'post_type' => 'member_post' ) ); ?></ul>
</div>
}
?>
</ul>
- <h3>Categories</h3>
- <ul>
+<!-- <h3>Categories</h3>-->
+<!-- <ul>-->
<?php
- $args = array('orderby' => 'name', 'order' => 'ASC', 'post_type' => 'post' );
- $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> ';
- }
+// $args = array('orderby' => 'name', 'order' => 'ASC', 'post_type' => 'post' );
+// $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> ';
+// }
?>
- </ul>
+<!-- </ul>-->
<h3>Archive</h3>
<ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, 'post_type' => 'post' ) ); ?></ul>
<!-- End of the Contextual/Highlight Search -->
<?php //echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
- <footer class="entry-meta small-12 medium-6 medium-push-3 center">
+<!-- <footer class="entry-meta small-12 medium-6 medium-push-3 center">-->
<?php
- if (has_category()) {
- $post_categories = wp_get_post_categories( get_the_ID() );
- $cats = array();
- echo 'This entry was posted ';
- 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 '.';
- }
+// if (has_category()) {
+// $post_categories = wp_get_post_categories( get_the_ID() );
+// $cats = array();
+// echo 'This entry was posted ';
+// 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>
+<!-- </footer>-->
</article>
</div>
</div>