Hi, I have created a custom post type called 'Staff profiles' for a site I am working on and displayed them in a table. You can see the results here: http://151.252.1.90/~boyne/staff-profiles/
Here is the mark up:
[wpv-layout-start]
[wpv-items-found]
<!– wpv-loop-start –>
<table width="100%">
<wpv-loop wrap="2" pad="true">
[wpv-item index=1]
<tr><td>[types field="add-a-photo-of-staff-member" class="staff-photo"][/types] <div class="staff-name"><p>[wpv-post-link]<p></div></td>
[wpv-item index=other]
<td>[types field="add-a-photo-of-staff-member" class="staff-photo"][/types] <div class="staff-name"><p>[wpv-post-link]<p></div></td>
[wpv-item index=2]
<td>[types field="add-a-photo-of-staff-member" class="staff-photo"][/types] <div class="staff-name"><p>[wpv-post-link]<p></div></td></tr>
[wpv-item index=pad]
<td></td>
[wpv-item index=pad-last]
<td></td></tr>
</wpv-loop>
</table>
<!– wpv-loop-end –>
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]<strong>No items found</strong>[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
I made a page template using custom fields. One of the fields is an image, you can see their photographs in the table. I have been able to link to the custom post type using the short code: [wpv-post-link]
My question is how do I get the image to hyperlink to the custom post type as well?