Skip Navigation

[Resuelto] Post Type Not Appearing in Form

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: One of my custom post types is not appearing in the CRED form builder.

Solution: Be sure that the show_ui option is checked in the editor screen for this custom post type.

Relevant Documentation:
https://codex.wordpress.org/Function_Reference/register_post_type

This support ticket is created hace 6 años, 7 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por aaronM-9 hace 6 años, 7 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#759301

One of my forms has broken and I cannot see the post type on the list of available post types. The post type has a status of published and the solution offered in a previous thread did not solve the problem. Recreating the form from scratch also does not solve the issue.

This all started when I realized I had to completely change how I handle user profiles because you cannot do custom queries of users! Hopefully this is a feature that will be added in a future release. Looks like it didn't make it into Views 2.6.

The post type is Member-Skill and the forms are User-Skill-Add and User-Skill-Edit. The post type used to be called User-Skill but I changed it hoping that might trick it into working.

I'd prefer not to have to rebuild the post type and all fields but let me know if this is the only solution. Thanks.

- Aaron

#762538

As an update, another post type is now exhibiting the same problem. The post type "Group Members" is not appearing in the drop-down list of available post types when trying to create a new content submission form.

- Aaron

#762579

I figured it out. I had un-checked the show_ui attribute in the post type setup screen. I thought this was just the WordPress interface and didn't realize it affected interfaces inside of Toolset. For my knowledge, can you confirm for me what the show_ui box affects? Thanks.

- Aaron

#763766

Hi, the show_ui parameter is described in the register_post_type function documentation here:
https://codex.wordpress.org/Function_Reference/register_post_type
It's not so straight-forward because you can see that this attribute's behavior is interconnected with several other post type attributes.

#774395

Thanks!