'',
'updates' => '',
'questions' => ''
);
$show_form = false;
if ( is_user_logged_in() && ( !$is_author || ( $is_author && $author_id == $current_user->ID ) ) ) {
$show_form = true;
$tab_class = array(
'tasks' => 'loggedin',
'updates' => 'loggedin',
'questions' => 'loggedin'
);
}
if ( isset( $_GET['questions'] ) ) {
$tab_class['questions'] .= ' active';
} elseif ( isset( $_GET['tasks'] ) ) {
$tab_class['tasks'] .= ' active';
} else {
$tab_class['updates'] .= ' active';
}
?>
Latest Updates
Current Tasks
Latest Questions
$query_categories );
} else {
$query_args = array( 'cat' => $query_categories[0] );
}
if ( $paged ) {
$query_args['paged'] = get_query_var( 'paged' );
}
if ( $is_author ) {
$query_args['author'] = $author_id;
}
query_posts( $query_args );
if ( have_posts() ) {
?>
-
|
|
# |
' . __( 'Tags: ', 'prologue-projects' ), ', ', '
' ); ?>
' . __( 'Projects: ', 'prologue-projects' ), ', ', '' ); ?>
', __( 'This question is %s', 'prologue-projects' ), '' ); ?>