<?php
class td_category_top_posts_style_3 extends td_category_top_posts_style {
	function show_top_posts() {

		parent::render_posts_to_buffer();


		if (parent::get_rendered_post_count() == 0) {

			return; // die here
		}
		?>

		<!-- big grid -->
		<div class="td-category-grid">
			<div class="td-container">
				<div class="td-pb-row">
					<div class="td-pb-span12">
						<?php
						echo parent::get_buffer();
						?>
					</div>
				</div>
			</div>
		</div>
	<?php
	}
}