The title may be deceiving and I may be missing something exceptionally obvious but I am trying to display a series of entries by category that link to external websites
The basic outcome should be like this:
Category 1
Category 2
I tried the basic Category Archive approach:
{exp:channel:category_archive channel="gardens" style="linear"}
{categories}
<h3>{category_name}</h3>
{/categories}
{entry_titles}
<a href="{external_url}">{title}</a><br />
{/entry_titles}
{/exp:channel:category_archive}
This gets the correct structure but it is looking for an internal reference and simply appends the external URL to the site url.
After some searching on StackExchange I found this option:
{exp:channel:category_archive channel="botanical_gardens" style="linear"}
{categories}
<h3>{category_name}</h3>
{exp:channel:entries channel="botanical_gardens"}
<a href="{garden_url}">{title}</a><br />
{/exp:channel:entries}
{/categories}
{/exp:channel:category_archive}
However it displays all the entries under each category. I need something that merges the functionality of these two options and allows the URL to be to an external site.