Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    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.

    Plugin Author Eliot Akira

    (@miyarakira)

    Great, I’m glad you find it useful, and that the solution worked for you. Happy holidays!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link to items’ is closed to new replies.