Title: Link to items
Last modified: August 21, 2016

---

# Link to items

 *  Resolved [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/link-to-items/)
 * I’m trying to display a list of posts under a custom post type and that is working
   great. Love this plugin. Is there a way to wrap a link around each item, with
   a list to the custom post?
 * [http://wordpress.org/plugins/custom-content-shortcode/](http://wordpress.org/plugins/custom-content-shortcode/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/link-to-items/#post-4444596)
 * 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](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/link-to-items/#post-4444600)
 * 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](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/link-to-items/#post-4444610)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/link-to-items/#post-4444610)
 * Status: resolved