Passer la navigation

[Closed] Conditional on Content Template not Pickup on other Post Types

This support ticket is created Il y a 3 years, 10 months. 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.

Ce sujet contient 1 reply, a 2 voices.

Dernière mise à jour par Nigel Il y a 3 years, 10 months.

Auteur
Publications
#2222151
Screenshot 2021-11-16 at 11.48.49.png

I am trying to add a conditional for another CPT i created under a exising content temlplate I setup. It however as per screenshot only show the "George Document Manager" CPT an dnot the other 4 i created.

lien caché

#2222299

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+01:00)

Are the other post types in a relationship with the George Document Manager post type that the content template is assigned to?

What is the condition you are trying to test?

If the context is a content template for one post type, then the condition can test against some value coming from the current post being displayed, or coming from a post related in some way to the current post.

So, is the post that will be displayed by the template for the George Document Manager post type connected to these other post types?

The topic ‘[Closed] Conditional on Content Template not Pickup on other Post Types’ is closed to new replies.