Sauter la navigation

[Résolu] set a custom post title for all entries from post form

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

I have a post form, and I try to set a custom post title for all entries as default.

Solution:

Please go to the post form edit screen and expand the post title field and there you can add a default value for the post title.

form title option

Then if you do not want the customer to change the title in the post form in the front end, you can use CSS code to hide the post title field from the form in the front end.

This support ticket is created Il y a 1 année et 3 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.

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Christopher Amirian Il y a 1 année et 3 mois.

Assisté par: Christopher Amirian.

Auteur
Publications
#2660261
Captura de pantalla 2023-11-03 105043.png

Tell us what you are trying to do?

i have a post form , and i try to set a custom post title for all entries

Is there any documentation that you are following?
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
i try with this code, but someting is wrong

What is the link to your site?
lien caché

#2660759

Christopher Amirian
Supporter

Les langues: Anglais (English )

Screenshot 2023-11-05 at 18.20.36.png

Hi there,

Please go to the post form edit screen and expand the post title field and there you can add a default value for the post title. (Check the screenshot)

Then if you do not want the customer to change the title int he post form in the front end, you can use CSS code to hide the post title field from the form in the front end.

Thanks.