Hey awesome EE community!
Can someone tell me if the following is possible somehow. I’ll try to explain as simply as I can:
I have the following code for a nav item - this one is hardcoded and is simple. The ‘ul’ items float creating 2 rows of 2 ‘li’ items.
<ul>
<li><a href="http://{path=sponsor/index}">Sponsor Children</a></li>
<li><a href="http://{path=what-we-do/projects}">Support Projects</a></li>
</ul>
<ul>
<li><a href="http://{path=what-we-do/causes}">Educate About Causes</a></li>
<li><a href="http://{path=what-we-do/solutions}">Empower Solutions</a></li>
</ul>
My problem is that I want to also do this with a dynamically created nav list that has ‘x’ amount of items - I want to add a ‘ul’ and close ‘ul’ every 2 ‘li’ items as in the above example:
<ul>
{ exp:channel:entries channel="country" dynamic="no"}
<li><a href="http://{url_title_path=where-we-work/country}">{title}</a></li>
{ /exp:channel:entries}
</ul>I’ve got no idea if this is possible… could someone let me know if they have ideas.
Cheers,
Anthony