I have had a wp-template file that has worked for a year. Suddenly last night I started seeing some of the template code being printed out to the page:
$query = new WP_Query( array( 'posts_per_page' => 10, 'cat'=>-145, 'paged'=>$paged ) ); ?>
<?php if ( $query->have_posts() ) : ?>
<?php /* The loop */ ?>
Anything above (and the footer) is working fine. However,I see code like this:
10, 'cat'=>-145, 'paged'=>$paged ) ); ?>
ie a section of what I have been using.
What am I doing wrong please?