Hello, yes – it should be possible to wrap a link around each item on a list. Here is an example:
[loop type="events" count="3"]
<a href="[content field='url']">
[content field="title"]
</a>
[/loop]
Please note the single and double quotation marks in the second line. The same thing in a list will look like this:
<ul>
[loop type="events" count="3"]
<li>
<a href="[content field='url']">
[content field="title"]
</a>
</li>
[/loop]
</ul>
You may have to put it in a single line, if the editor inserts line breaks.
Thread Starter
Mike
(@manndtp)
You totally rock Eliot. I found a solution using another plugin, but was not fully satisfied. Using your solution, I switched back to your plugin.
Merry Christmas.
Great, I’m glad you find it useful, and that the solution worked for you. Happy holidays!