Saltar navegación

[Resuelto] Content template: show field from toolset

This support ticket is created 4 years, 3 months ago. 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.

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

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 6 respuestas, tiene 3 mensajes.

Última actualización por Minesh 4 years, 3 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2304715

Tell us what you are trying to do?

I have 3 toolsets: Speaker - Company - Presentation
The speaker page uses the "Content Template for Speakers"

How can I add the Presentation info on this speaker page?
How can I add the Presentation info on the "Content Template for Speakers?"

This codes shows nothing and does not work:
[types field='title-presentation' item='@speakersingle-presentation.parent'][/types]

There is a relationship between Speakers and Presentations (1 to many and many to many)

Here's the page: enlace oculto
Here you can see which presentation the speaker gives: enlace oculto
-> Conference room 1: 11.00 – 11.30

#2304733

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Here is the Doc about how you can display related posts:
- https://toolset.com/course-lesson/displaying-related-posts/

It seems you have three post types: Speaker, Company and Presentation
- I would like to what what post relationship you created between every post type?

Can you please share screenshot of Toolset => Relationships page?

#2305899

I can show all presentations: enlace oculto

But how can I show only the presentation of 1 speaker called Pascal?

When I add the filter 'first name string equal to Pascal' I get 0 results...

#2306075

Shane
Colaborador

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi roularta,

Minesh is currently on Holidays today but will be back tomorrow to continue with you on this thread.

Thanks,
Shane

#2306323

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I would like to know that do you want to display related presentation on single post of post type Speaker? or you want to group all presentations by specific speaker?

for examples (list all presentation group by speaker):

Speaker 1
- Presentation 1
- Presentation 2
- Presentation 3
Speaker 2
- Presentation 4
- Presentation 5
- Presentation 6

Or you want to display related Presentation of single speaker post:
- enlace oculto

#2306443
relation.png

Display related Presentation of single speaker post:
enlace oculto

We want this for all speakers (we are using a content template)

#2306575

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

To display many related items belongs to single parent, you will require to follow the steps given here:
- https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items

If that does not help you, please share admin access details and I'm happy to set it up for you.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. I have set the next reply to private which means only you and I have access to it.