Okay, for some reason it displays all of my posts on each category. If you go to USA then go to Louisiana, it displays the same: no travel guides (yes I used travel guides and the categories didn’t work) and every food post. Here’s my loops:
$cat = ",".get_query_var('cat');?>
<?php if (have_posts()) : ?>
<div id='page'>
<div class="post" id="restaurants">
<fieldset>
<legend class='title'>Restaurants <?php echo $cat; ?></legend>
<div class="entry">
<table>
<tr><td width="200"><b>Restaurant Name</b></td>
<td><b>Rating</b></td>
<td><b>Price</b></td>
<td><b>Ambiance</b></td>
<td><b>Service</b></td>
<td><b>Taste</b></td>
<td><b>Website</b></td>
</tr>
<?php $restaurants = new WP_Query("cat=6".$cat);
while ($restaurants->have_posts()) : $restaurants->the_post(); ?>
<tr>
<td><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></td>
<td><?php echo c2c_get_custom('rating', '', '', '--'); ?></td>
<td><?php echo c2c_get_custom('price', '', '', '--'); ?></td>
<td><?php echo c2c_get_custom('ambiance', '', '', '--'); ?></td>
<td><?php echo c2c_get_custom('service', '', '', '--'); ?></td>
<td><?php echo c2c_get_custom('taste', '', '', '--'); ?></td>
<td><a href="https://<?php echo c2c_get_custom('website', '', '', '--'); ?>"><?php echo c2c_get_custom('website', '', '', '--'); ?></a></td>
<td><?php edit_post_link('Edit', '', ' '); ?></td>
</tr>
<?php endwhile; ?>
</table>
</div>
</div>
<div class="post" id="travel">
<fieldset>
<legend class='title'>Travel Guides</legend>
<div class="entry">
<?php $travel = new WP_Query("cat=522".$cat);
while ($travel->have_posts()) : $travel->the_post(); ?>
<tr>
<td><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></td>
</tr>
<?php endwhile; ?>
</table>
</div>
</div>
</div>