[Résolu] Post Types connected to this form: no cpt shown in the dropdown to be selected
Ce fil est résolu. Voici une description du problème et la solution proposée.
Problem:
The issue here is that the user has created a CPT but this cpt isn't showing in the CRED Post Type selection.
Solution:
In order for a CPT to show up in the CRED post selection it must be set to publicly Queryable. This can be done by editing your CPT settings in types and then checking the publicly_queryable checkbox.
This support ticket is created Il y a 6 années et 8 mois. 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.
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.
Hi Shane,
i understand CRED front end limitation and i have no problem with it.
are you saying that the list of available Post Types in the CRED create/edit form (in the back end) are displayed based on "default wordpress functions"?
if so, how can override it to list the CTP in my CRED forms (edit mode in the back end)?
Sorry for the wait. I got some assistance on this but the conclusion essentially will be that you will need to have the post publicly_queryable but then you can disable archives for this CPT in the CPT Settings.
This will not allow the users to navigate to the archive page to see all the post.
So this will require a combination of Access to achieve.
You comment here :
"the posts should be seen only by authorized users and i dont mean user role."
This is possible to setup using our Access plugin as you can add individual permissions for specific users.
this is not ideal. but i understand the limitation. i will use a workaround of enable and disable the publicly_queryable in order to edit the CRED form.
as for "This is possible to setup using our Access plugin as you can add individual permissions for specific users." unfortunately this is not a scale able model and require a manual work.