Skip Navigation

[Resolved] Post Type no longer shows up in Post Form

This support ticket is created 4 years, 7 months ago. 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.

Our next available supporter will start replying to tickets in about 3.23 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Author
Posts
#1583163
PostType-SignUpItems.png
Edit-Post-Form-Signups.png
Edit-Post-Form-ContactMe.png

After I modified the Contacts Post Type, it no longer shows up in the 'Post type to create/edit:' field in any form.

The same thing happened after I modified the Signups post type. The 'Post type to create/edit:' field is empty in the ‘Form for Signups’ (ID: 3105) form, but the form still seems to be using the Signups post type, because I didn’t save the form after I modified the post type.

show_ui is checked in each case.
All plugins are updated.

#1583721

Hi,

Thank you for contacting us and I'd be happy to assist.

Can you please confirm if the slug of these custom post types was also changed?

I've previously seen that when the slug of a custom post type is changed, any View or post form that was set to use it earlier will need to be updated to select that post type again.

Please save these forms once if you haven't already and see if these post types start appearing in the drop-down list. If they are available please select them and save the form again.

I hope this helps and please let me know how it goes.

regards,
Waqar

#1584007
ContactMesPostType.png
PostTypeToCreate.png
Please-select-an-item.png
ContactsPostType.png

I did not change either post type slug. I saved the 'Contact Me' post form again. I had to choose a post type, so I choose Posts, for now.

I had also created a 'ContactMes' post type, but I also cannot see that in the 'Post type to create/edit:' field in any post form.

#1587647

Hi Waqar:

Do you have any suggestions or next steps?

#1587895

Hi,

Thank you for sharing the update and I apologize for the delay in getting back on this.

I've performed some random tests on a few custom post types on my website, but couldn't reproduce this issue.

Can you please share a clone/snapshot of your website, so that I can troubleshoot this on my own server?
( https://toolset.com/faq/provide-supporters-copy-site/ )

I've set your next reply as private.

regards,
Waqar

#1593961

Thank you for sharing the duplicator package and I've managed to successfully deploy it on my server.

I'll be performing some tests and troubleshooting on this copy and will share my findings as soon as it completes.

Thank you for your patience.

#1595529

Thank you for waiting.

During troubleshooting, I noticed that the "publicly_queryable" option was unchecked for both, "Contacts" & "ContactMes" post types.

It is enabled by default in the post type settings.
( screenshot: hidden link )

These post types start showing in the form's post type drop-down, once this option is checked.

Once these post types are available, please select them in their respective forms and save the settings.

#1596605

That fixed it, thanks!