Hiya I've got lots of campsite addresses and I have entered them into custom fields. On my side bar I have split the campsites up into counties by using the category function. So I have a parent category for all campsites and a child category for the county they are in.
This works fine and when you choose to view all campsites I have a listed returned with campsites grouped by town order. However to replicate this town order at child category level I am having to create a category template page for each child category - if I try and use the parent category it shows all the posts for every campsite.
What I was wondering is - can I restrict the list only the current category I'm looking in.
The code I am using for sorting by custom field is -
<?php $values=get_post_custom_values('County');echo $values;?>
Hope this makes sense - any help would be really useful as I've googled this for ages and can't seem to to sort it. I can either do it the long way or hopefully one of you great code people can help.