Skip Navigation

[Resuelto] Interactive Gallery from a Custom Post Type

This support ticket is created hace 10 años, 8 meses. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 6 respuestas, has 3 mensajes.

Last updated by Craig hace 10 años, 8 meses.


Is it possible to create a Gallery from a CPT which updates a another part of the page (DIV) when I click on an image with the content form another entry in that CPT.

e.g. I have 8 Staff member entries in a CPT and would like to display the relevant biog and contact details when that persons photo is clicked on.

I have attached an image which shows roughly what I would like to achieve.

Hope someone can provide a definitive answer.



Hi Craig,

You can try create a custom Javascript for it.
Please let me know if you need assistance to do it



Hi Luo,

I'm no good with creating custom JavaScript from scratch I'm afraid, so if you were prepared to help, that would be fantastic.

Would it be easier/possible to just create individual pages and link the images through to each individual page?

If the JavaScript would be a better solution, I'm all for it, as it would be a cleaner solution. If it would involve paid help, please let me know.


Yes, It is easier&possible to just create individual pages and link the images through to each individual page.
And if you need JS solution, please set a test site using our system. create a demo page with images, where I can create a demo JS for your reference.

Here is a description for why and how to do this:

Thank you


Hi Luo,

JavaScript would definitely be a better solution, so I have added a page to my Discover-WP site at hidden link

I have added the Types and Views I have on my own development site and have added in 4 images (the same image 4 times) with sample data.

Login is at hidden link

Please let me know if you require anything else from me.

Kind regards,




Hello Craig.

Please check hidden link.
Hope that you will be happy with results.

if all is ok - you can update your site in few simple steps:
1. add all required data to "Senior and Professional Staff" view. All please use class="hidden" for hide unused elements and container for identification data as at example.
2. in "Staff Member Biog" view put each of data to different container with identifier as at example.
3. create a simple .js file with content as at hidden link
4. put url to this file to "Senior and Professional Staff" in "Additional Javascript files to be loaded with this View (comma separated):" section as at example.

Please let me know if there is anything else that I can assist you with.



Wow, Vladimir, that is awesome, thank you so much.

I can see exactly what you have done and I should definitely be able to learn from what you have provided.

Many, many thanks for this. It is really appreciated 🙂

Kind regards,