Skip Navigation

[Gelöst] PHP to display a view in a plugin template file

This support ticket is created vor 8 Jahre, 1 Monat. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 Antwort, has 1 Stimme.

Last updated by zoeS vor 8 Jahre, 1 Monat.

Assisted by: Shane.

Author
Artikel
#376136

I am using a timetable plugin (hidden link) to display a calendar, and for each calendar entry, you can click on the title for a page of information. You can see this in the demo for the plugin. What I want to do is override all of that stuff on the info page (which I can by editing the template file) with a view that I have already created.

My view (instructors) displays a list of all of the instructors, using a content template (loop-item-in-instructors). What I want to do is display (using the same content template), the details of just one instructor – the one whose title matches a variable ($instructor-name) that comes from a custom field of the calendar post type.

I'm sure this must be possible, but I'm so used to using views to get what I want and can't figure out the PHP! Many thanks for any guidance.

#376155

Got it, sorry!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.