Skip Navigation

[Resolved] Missing post types

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

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 3 voices.

Last updated by Shane 3 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#2177209

I am trying to: add a post of a custom post type

Link to a page where the issue can be seen: hidden link when clicking on an activity you will get an 404: hidden link

I expected to see: a page with custom content filled

Instead, I got a: 404

I tried fixing it with your advice in this post https://toolset.com/forums/topic/custom-post-types-and-related-content-missing/ but it didn't work. Also i tried making an new post type with the same slug (which i think it is the right one but don't know for sure). i've updated the toolset plugins and (de)activated all others.

Can you help?

#2177377

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

The password provided doesn't work, so I can't log in to check your set up.

Have you tried saving your permalinks with the standard Post name structure?

How are the links to activities on that page generated?

#2180945

Hi, I changed the password so it matches like in my private message. Can you log in now?

I think the urls are generated by toolset. But i don't know for sure.

Thanks for helping out!

#2180977

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi George,

I was able to log into the site and saw that you've only created a single CPT called "Activiteit single" however this post type is essentially empty.

It appears to be a case where you've used the wrong slug for the post type.

Are you able to recall the exact slug that was being used for this post type ?

Thanks,
Shane

#2180991

Hi Shane,

Thanks for the response, how can I find this slug? I think its this: activiteit

Greetings,

George

#2181003

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi George,

The slug can actually be found if you check the database.

If you're able to recall the title of any of the posts under this post type then you can check the wp_posts table in the database under the post_type column.

There you should be able to see the slug. If you would like for me to check please let me know. However it would require the installation of the WP phpMyAdmin plugin.

Thanks,
Shane

#2181061

Hi Shane,

Thanks for helping out. I've installed the phpmyadmin plugin. Can you help me further?
Thanks!

#2181181

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi George,

The slug was "activiteit" i've now change the slug to the correct one and it is now displaying the posts as intended.

Please let me know if everything is ok now.

Thanks,
Shane