<?php hocwp_article_before(); hocwp_post_thumbnail(array('width' => 200, 'height' => 120)); hocwp_post_title_link(); hocwp_entry_meta(); hocwp_entry_summary(250); hocwp_article_after();
function hocwp_article_footer($args = array()) { $entry_meta = isset($args['entry_meta']) ? $args['entry_meta'] : true; ?> <footer class="entry-footer"> <?php if ($entry_meta) { ?> <div class="entry-meta"> <?php hocwp_entry_meta(); ?> <?php edit_post_link(__('Edit', 'hocwp-theme'), '<span class="edit-link">', '</span>'); ?> </div> <?php } ?> </footer><!-- .entry-footer --> <?php }