Publications GT

[insert_php] $user_id = get_current_user_id();

if(isset($_GET[‘authorid’])){
$user_id = $_GET[‘authorid’];
}

if ($user_id == 0) {
echo ‘You are currently not logged in.’;
} else {
echo ‘You are currently logged in as ‘.$user_id;
echo do_shortcode(‘

‘);
}
[/insert_php]