array( 'wp-post-image' ) ) ); } elseif( 'sidebar_25' == $passport_post_sidebar_width && 'sidebar' == $passport_post_content_column ) { echo get_avatar( get_the_author_meta( 'ID' ) , 275, null, 'avatar', array( 'class' => array( 'wp-post-image' ) ) ); } elseif( 'sidebar_33' == $passport_post_sidebar_width && 'sidebar' == $passport_post_content_column ) { echo get_avatar( get_the_author_meta( 'ID' ) , 250, null, 'avatar', array( 'class' => array( 'wp-post-image' ) ) ); } } } /** * Author section functionality * ------------------------------------------------------------------------- * Show the author section in single post. * This section shows the author's avatar, biography, and contact. * * @package WordPress * @subpackage passport * @since Passport 1.0 * */ if ( ! function_exists ( 'passport_author_section' ) ) { function passport_author_section() { ?>


ID ); $tag_ids = array(); $related_posts_title = get_theme_mod( 'passport_related_posts_title', '' ); foreach( $tags as $tag ) $tag_ids[] = $tag->term_id; $args = array( 'tag__in' => $tag_ids, 'post__not_in' => array( $post->ID ), 'ignore_sticky_posts' => 1, ); $passport_related_posts_query = new wp_query( $args ); ?> count > 1 ) : ?> 'ASC', 'posts_per_page' => 10, 'meta_key' => 'event_start', 'ignore_sticky_posts' => true, ); $wp_query = new WP_Query( $args ); if( $wp_query -> have_posts() ) : ?>

'progressbar', 'order' => 'DESC', 'orderby' => 'meta_value_num', 'posts_per_page' => 10, 'ignore_sticky_posts' => true, ); $wp_query = new WP_Query( $args ); if( $wp_query -> have_posts() ) : ?>

'date', 'posts_per_page' => 1, 'ignore_sticky_posts' => true, ); $wp_query = new WP_Query( $args ); if( $wp_query -> have_posts() ) : ?>

have_posts() ) : $wp_query -> the_post(); ?>

'_post_like_count', 'orderby' => 'meta_value_num', 'order' => 'DESC', 'posts_per_page' => 3, 'ignore_sticky_posts' => TRUE, ); $wp_query = new WP_Query( $args ); if ( $wp_query -> have_posts() ) : ?> 'post', 'posts_per_page' => 3, 'no_found_rows' => true, 'post_status' => 'publish', 'ignore_sticky_posts' => true, 'post__not_in' => array( get_the_ID() ), //Not include current post 'meta_query' => array( array( 'key' => '_thumbnail_id', 'compare' => '!=', 'value' => '' ) ) ); $wp_query = new WP_Query( $args ); if ( $wp_query -> have_posts() ) : ?> 'rand', 'parent' => 0 ) ); ?>
term_id; $category_option = 'category_custom_order_' . $category_id; $category_img_src = get_option( $category_option ); $category_link = get_category_link( $category->term_id ); $category_alt = $category->name; ?>