iandunn / WordPress-Plugin-Skeleton

A WordPress plugin skeleton built using object-oriented principles and the MVC pattern.
463 stars 143 forks source link

Custom post type (wpps-cpt) not generating URL #6

Closed nitzanb closed 6 years ago

nitzanb commented 6 years ago

Hi I've installed the plugin and activated it. I can see you created a custom post type called "wpps-cpt". I've tried to create a new post (type wpps-cpt) and after saving - I cannot see the url for the post. Also, trying to access it directly (adding ?p=ID to the url) - I'm getting to 404 page. Am I missing something?

nitzanb commented 6 years ago

OK, Just found out that you set the "public" property to FALSE, which prevented it from being accessed.