Currently trying to find a solution for a long standing problem. Searched forums and SE queries for weeks now, to no avail. The problem is this; using a plugin called Simple Taxonomy, I have tried and tried to code the following to yield a menu on a per Client category press release page. The code in a content-page.php template:
<div class="subMenu" style="width:100%; top:0px; margin: 5px 0 5px 0; text-align: center;"> <?php query_posts('taxonomy=clients&post_type=clients'); ?> <?php $cats = get_categories('taxonomy=clients&post_type=clients&orderby=name&order=ASC'); ?> <?php foreach ($cats as $cat) : ?> <?php echo '<div class="clientLink" style="margin-left:5px; margin-right:5px">'; ?> <?php echo '<a href="'.$cat->name.'" '.'>'.$cat->name.'</a>'; ?> <?php echo '</div><!-- end clientListNav -->'; ?> <?php echo '<li class="menu-divider" style="color: #963840;">|</li>'; ?> <?php endforeach; ?> <?php wp_reset_query(); ?> </div><!-- end subMenu -->
I am getting the menu except that when you click the menu choice, the queried data menu kicks back a "This is somewhat embarrassing, isn’t it?" (standard cannot find what the URL assigned) error and I do not know why. Please reference this URL for example http://ahminc.com/ahm/media-center/client-news/ and reference the menu under the CLIENT NEWS divider. The goal is to mimic the behavior of a "Category" result like the blog categories. I've tried to check forums on the plugin's support pages, but there is little to go on.
If someone could please help, I would be most grateful. This is the last step for completing this website.