I have set up categories with the same names as my users so each user has its on category with identical names.
I want to only show that category when the user is logged in, this is the code iv written its my fist attempt at something like this though and im stuck :(
$user = get_current_user($user->user_login);
$username = $user['username'];
<?php get_header(); ?>
while (have_posts()) : the_post();