Hi, I’ve been round in circles a bit tried various solutions on here and via Google search but not worked.
I have an author ‘Paul’ – I have created a PHP file just for this author’s archive called author-paul.php as per WordPress file hiarachy and it works fine. I would like to exclude category 92 from Paul’s author archive. I guess I can add the code either directly in this PHP file or in the functions.PHP file.
I tried editing <?php while ( have_posts() ) : the_post(); ?> to <?php query_posts('cat=-92'); while ( have_posts() ) : the_post(); ?> but it excludes more than just category 92.