ok, this is part of the template that deals with the side panel content here:
http://www.eastsidecottages.co.uk/whats_on/whats_on_blog/
<div class="cat-search">
<h3 class="side-title">Search by category</h3>
<a href="http://{path=whats_on/whats_on_blog}">All</a>
{exp:channel:categories channel="whats_on_blog" style="linear"}
<a href="http://{path=blog/wo_category}">{category_name}</a>
{/exp:channel:categories}
<br class="clearer" >
</div>
Each of the <a> tags above generate a button with a category name on it. Clicking on these should take you to the template that shows the corresponding template eg. http://www.eastsidecottages.co.uk/blog/wo_category/category/whats_on
Here is that template:
{embed="includes/.header"}
<div class="cottage-intro">
<div class="main">
<h1>What's on blog</h1>
<h2>A local's guide to what's happening in and around Edinburgh and the Lothians - news of events and happenings that we'll try to keep informative, interesting and up to date!</h2>
<p> <a href="http://{path=whats_on/whats_on_blog}">« back to all posts</a><br />
<h3 class="sub-heading">Recent articles in — {segment_4_category_name}</h3><br />
<br />
{exp:channel:entries channel="whats_on_blog" limit="5" disable="categories" orderby="date" sort="desc" paginate="bottom"}<br />
{if no_results}<br />
No articles here yet! Please check back soon…<br />
{/if}<br />
<div class="blog-post"><br />
</p><h2><a href="http://{page_url}">{title}</a></h2>
<p> <br />
<span class="entry-date">{entry_date format="%j %M %Y"}</span><span class="author">Posted by <a href="http://{exp:eehive_hacksaw}{googleplus}{/exp:eehive_hacksaw}" target="_blank" rel="noopener">{author}</a></span><br />
<br />
{blog_excerpt}<br />
{blog_image limit="1"}<br />
<a href="http://{page_url}">{exp:ed_imageresizer image="{blog_image_image}" maxWidth="523" alt="{blog_image_title}"}</a><br />
{blog_image_title} ↑<br />
<div class="credit">{blog_image_credit}</div><br />
{/blog_image}<br />
<br />
<div class="blog-links"><br />
<a href="http://{page_url}" class="more-link">Read full article…</a><br />
<div class="addthis">{addthis}</div><br />
</div></p>
<p> {paginate}{if {total_pages} > 1}<br />
<div class="inter-post"><br />
{if previous_page}<br />
<a href="http://{auto_path}" class="ulto-btn">Previous Page</a> <br />
{/if}<br />
{if next_page}<br />
<a href="http://{auto_path}" class="btn">Next Page</a><br />
{/if}<br />
<br class="clearer" ><br />
</div><br />
{/if}{/paginate} <br />
<br class="clearer" ><br />
</div><br />
{/exp:channel:entries}<br />
<br />
</div><br />
{embed="blog/.wo_sidebar"}<br />
<br class="clearer" ><br />
<br />
</div><!-- /cottage-intro --></p>
<p>{embed="includes/.footer"}
Unfortunately this does not show channel entries that have been assigned this category in some cases. Eg. The category “christmas” http://www.eastsidecottages.co.uk/blog/wo_category/category/christmas works just fine, but the category “what’s on” does not.
There are two channels where this is the case - set up in the same way with different category groups assigned to them. Some of these categories happen to be of the same name and previously I had thought that it was the ones that share the same name as other categories within the other group that were causing the trouble - however I now see that the problem also extends to categories (such as “what’s on” )that do not have a counterpart of the same name.
Hope this helps! Michael