ID);
$author = get_user_by( 'slug', get_query_var( 'author_name' ) );
$user_ID = $author->ID;
$user_info = get_userdata($user_ID);
get_header();
betube_breadcrumbs();
global $redux_demo;
$contact_email = get_the_author_meta( 'user_email', $user_ID );
$betubeProfileIMG = get_user_meta($user_ID, "betube_author_profile_bg", true);
if(!empty($betubeProfileIMG)){
$betubeProfileIMG = betube_get_image_url($betubeProfileIMG);
}
if(isset($_POST['unfollow'])){
$author_id = $_POST['author_id'];
$follower_id = $_POST['follower_id'];
echo betube_authors_unfollow($author_id, $follower_id);
}
if(isset($_POST['follower'])){
$author_id = $_POST['author_id'];
$follower_id = $_POST['follower_id'];
echo betube_authors_insert($author_id, $follower_id);
}
?>
; ?>)
">
; ?>)
">
ID;
if(isset($current_user_id)){
if($user_ID != $current_user_id){
echo betube_authors_follower_check($user_ID, $current_user_id);
}
}
}
?>
facebook;?>
twitter;?>
googleplus;?>
pinterest;?>
linkedin;?>
matched_query);
if ( !empty ( $args['paged'] ) && 0 == $paged ) {
$wp_query->set('paged', $args['paged']);
$paged = $args['paged'];
}
$cat_id = get_cat_ID(single_cat_title('', false));
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query('post_type=post&posts_per_page=12&paged='.$paged.'&cat='.$cat_id.'&author='.$user_ID);
$current = 1;
?>
have_posts()) : $wp_query->the_post(); $current++;?>
matched_query);
if ( !empty ( $args['paged'] ) && 0 == $paged ) {
$wp_query->set('paged', $args['paged']);
$paged = $args['paged'];
}
$cat_id = get_cat_ID(single_cat_title('', false));
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$myarray = betube_authors_all_favorite($user_ID);
if(!empty($myarray)){
$args = array(
'post_type' => 'post',
'post__in' => $myarray
);
// The Query
$wp_query = new WP_Query( $args );
$current = -1;
$current2 = 0;
?>
have_posts()) : $wp_query->the_post(); $current++; $current2++; ?>