Problem: I have a parent post type and a child post type. On the parent post, I would like to show a View of child posts. The child post type should be editable in the backend and I should be able to select it in a CRED form editor. However, I want to remove the child post permalinks from my site. How can this be accomplished with the option publicly_queriable?
Solution: CRED is designed to show all post types with the following options selected:
- "show_ui"
- "publicly_queriable"
This means that you cannot use CRED with a post type which is not publicly_queriable. Instead, you could use a Content Template to hide the contents of the child posts from your Users. Then if you turn off "rewrites" in the child post type options, the pretty permalinks will be disabled.
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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
Ce sujet contient 2 réponses, a 2 voix.
Dernière mise à jour par Il y a 6 années et 11 mois.
Assisté par: Christian Cox.