コード例 #1
0
        ?>
				<h2><?php 
        echo $subtitle;
        ?>
</h2>
			<?php 
    }
    ?>
		</header><!-- /.pageheader -->
		<?php 
}
?>

	<?php 
if (!thb_portfolio_is_filtered()) {
    thb_portfolio_filter();
}
?>

	<?php 
get_template_part('partial-header-closure');
?>

	<?php 
thb_page_before();
?>
		<section id="content">
			<?php 
thb_page_start();
?>
コード例 #2
0
ファイル: block_thb_portfolio.php プロジェクト: joasssko/schk
		<?php 
    if ($carousel_show_nav_arrows && $carousel_nav_arrows_position == 'top') {
        ?>
			<?php 
        thb_carousel_nav_arrows();
        ?>
		<?php 
    }
    ?>
	</div>
<?php 
}
?>

<div class="thb-portfolio" <?php 
thb_portfolio_data_attributes($params);
?>
>
	<?php 
if ($carousel == '1') {
    add_filter('thb_portfolio_classes', '__return_empty_array');
} else {
    if (apply_filters('thb_portfolio_block_display_filter', (bool) $disable_filter != true, $layout)) {
        thb_portfolio_filter($args);
    }
}
thb_portfolio_loop(array('args' => $args, 'layout' => $layout, 'columns' => $grid_columns, 'gutter' => $grid_gutter, 'images_height' => $grid_images_height, 'params' => $params));
remove_filter('thb_portfolio_classes', '__return_empty_array', 10);
wp_reset_query();
?>
</div>