I updated a client site to 3.2.1 and the page that was category specific e.g. category-6.php has stopped working.
I am using magic fields on this page and have updated to the latest version of the plugin.
This is what I have on the page:
<?php get_header(); ?>
<div class="grid_17 suffix_1">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php echo get('testimonial'); ?>
<p class="author"><?php echo get('client_name');?>, <em><?php echo get('company_name'); ?></em></p>
<?php endwhile; ?>
<?php include('includes/inc-cta-side.php'); ?>
<?php get_footer(); ?>
Maor Barazany answers:
What do you mean by "stopped working" ?
Try these things:
1. Re-save permalinks
2. Try changing the file name from category-6.php to category-<strong>slugname</strong>.php where slugname is the slug of category 6.
3. Deactivate all plugins and see if it might be that a specific plugin causing issue.
Andrew Cetnarskyj answers:
Sorry I wasn't getting notifications through so didn't see there had been answers.
By not working I mean no content is being written by "the loop" on the category specific template.
I tried changing it to category-slugname.php. I will try the plugin option and post back.
I tried switching all the plugins off but no luck still nothing