Sauter la navigation

[Résolu] Slug created by Cred does not work

This support ticket is created Il y a 5 années et 2 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par israelP Il y a 5 années et 2 mois.

Assisté par: Nigel.

Auteur
Publications
#1381747

The post types created through cred forms assign a slug such as .../cred-auto-draft-f528764d624db129b32c21fbca0cb8d6/ The problem is that I have created a View to list all post types in order to click on the post title and see the post type information, but it takes nowhere because of the slug. How can I solve it, please?

#1381815

Nigel
Supporter

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

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

The posts have the auto-draft titles because the form which publishes the posts is missing a title field, and so Forms automatically generates a unique title, which is then used to create the permalink (the slug).

I'm not sure I understand what you mean by "it takes nowhere because of the slug".

The slug is long and ugly but it works, it is a normal slug.

If you don't want to include a post title you might want to use an API hook to automatically generate your own shorter, more readable title.

https://toolset.com/documentation/programmer-reference/cred-api/

#1382361

My issue is resolved now. Thank you!