/** * @since 1.5.0 * @deprecated 1.6.0 */ function post_format_tools_post_has_content($id = 0) { _deprecated_function(__FUNCTION__, '1.6.0', 'hybrid_post_has_content()'); hybrid_post_has_content($id); }
if (have_posts()) { // Checks if any posts were found. ?> <?php while (have_posts()) { // Begins the loop through found posts. ?> <?php the_post(); // Loads the post data. ?> <?php if (hybrid_post_has_content()) { // Check if the page has content. ?> <article <?php hybrid_attr('post'); ?> > <header class="entry-header"> <h1 <?php hybrid_attr('entry-title'); ?> ><?php single_post_title(); ?>