= 1 && intval( $columns ) <= 5 ) ? intval( $columns ) : 3; $column = 1; // Set clearfix to avoid error if there are no boxes $clearfix = 1; // Create a custom WP Query $query_args = array(); $count = intval( $count ); $query_args['posts_per_page'] = ( empty( $count ) ) ? 4 : $count; $offset = intval( $offset ); if ( $offset ) $query_args['offset'] = $offset; if ( $category ) $query_args['category'] = $category; $query_args = apply_filters( 'hoot_content_posts_blocks_query', $query_args, $instance, $before_title, $title, $after_title ); $content_blocks_query = get_posts( $query_args ); // Temporarily remove read more links from excerpts hoot_remove_readmore_link(); $excerptlength = intval( $excerptlength ); // Template modification Hook do_action( 'hoot_content_blocks_wrap', 'posts', $content_blocks_query, $query_args ); ?>
>
'; $linktagend = ''; // Start Block Display if ( $column == 1 ) echo '
'; ?>

'; the_content(); echo '
'; } elseif( $fullcontent === 'excerpt' ) { echo '
'; if( !empty( $excerptlength ) ) echo hybridextend_get_excerpt( $excerptlength ); else the_excerpt(); echo '
'; } ?> ' . $linktag . esc_html( $linktext ) . $linktagend . '

'; ?>
'; $column = $clearfix = 1; } else { $clearfix = false; $column++; } endforeach; wp_reset_postdata(); if ( !$clearfix ) echo '
'; ?>