post_class(); ?> > <div class="row"> <div class="large-12 columns"> <h2 class="subheader"><?php if (is_single()) { echo "Aside"; } else { echo '<a href=' . get_permalink() . '>Aside</a>'; } ?> </h2> <p><?php echo cleanyetibasic_postheader_postmeta(); ?> </p> </div> </div> <div class="row"> <div class="entry-content large-12 columns"> <?php // insert featured image if (is_single()) { cleanyetibasic_insert_featured_image(); }
/** * Create the post header * * Override: childtheme_override_postheader <br> * Filter: cleanyetibasic_postheader */ function cleanyetibasic_postheader() { global $post; if (is_404() || $post->post_type == 'page') { $postheader = cleanyetibasic_postheader_posttitle(); } else { $postheader = cleanyetibasic_postheader_posttitle() . cleanyetibasic_postheader_postmeta(); } echo apply_filters('cleanyetibasic_postheader', $postheader); // Filter to override default post header }