????
Current Path : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/partials/staff/ |
Current File : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/partials/staff/staff-entry.php |
<?php /** * Main staff entry template part * * @package Wanderfuls WordPress theme * @subpackage Partials * @version 3.0.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Counter for clearing floats and margins if ( ! isset( $tb_related_query ) ) { global $tb_count; $query = 'archive'; } else { $query = 'related'; } // Add Standard Classes $classes = array(); $classes[] = 'staff-entry'; $classes[] = 'col'; $classes[] = tb_staff_column_class( $query ); $classes[] = 'col-'. $tb_count; // Get grid style $tb_grid_style = tb_get_mod( 'staff_archive_grid_style', 'fit-rows' ); // Masonry Classes if ( 'archive' == $query && in_array( $tb_grid_style, array( 'masonry', 'no-margins' ) ) ) { $classes[] = ' isotope-entry'; } ?> <article id="#post-<?php the_ID(); ?>" <?php post_class( $classes ); ?>> <?php get_template_part( 'partials/staff/staff-entry-media' ); ?> <?php get_template_part( 'partials/staff/staff-entry-content' ); ?> </article><!-- .staff-entry -->