Skip Navigation

Display custom field over image

This support ticket is created vor 8 Jahre, 5 Monate. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 3 Antworten, has 2 Stimmen.

Last updated by Adriano vor 8 Jahre, 4 Monate.

Assigned support staff: Adriano.


I am working on a website for an art gallery. The homepage contains a view with thumbnail images (custom Types field). I would like to display the title (= custom field) and the name of the artist (= parent page) when hovering over the image. How can I achieve that?

My content template looks like this:
<a href="[wpv-post-url]">
[types field="miniatuurafbeelding" size="thumbnail" align="center" resize="crop"][/types]</a>


Dear Hugo,

The code below should does that:

[types field="title-field"]
[wpv-post-title id="$artist"]

You should replace "artist" with the slug of the parent post type.

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.




You are welcome.