I have a plugin install called uCan post so registered users can post and what not, but I am wanting to have two category lists for them to choose from.
one is a country
the other is an activity list.
Now I have the two lists available but I want to exclude certain category ID's from one of the lists.
Here is the code for the category lists.
<!-- START EVENTS CATEGORIES -->
<br />
<?php
if($this->ucan_options['uCan_Show_Categories'])
{
?>
<label>
<?php echo __('Select Your Experience', 'ucan-post'); ?>:
</label>
<select name="ucan_submission_category">
<?php
foreach($categories as $category)
if($category->cat_ID == $_POST['ucn_submission_category'])
echo '<option value="'.$category->cat_ID.'" selected="selected">'.$category->name.' </option>';
else
echo '<option value="'.$category->cat_ID.'"">'.$category->name.' </option>';
?>
</select>
<?php
}
?>
<!-- END EVENTS CATEGORIES -->
Any help would be greatly appreciated!
Thank you

$categoriesdefined, and how is it defined? – Mark Duncan Jul 28 '11 at 17:41$categories =.. – Mark Duncan Jul 28 '11 at 19:17