MrZwick
Forum Replies Created
-
Forum: Hacks
In reply to: Hard coding category to custom post typeYes, each post has a post type is defined in the database “Posts” table. The default is just “post”, but when you make a custom one such as “recipe” you can specify to just query posts with post_type “recipe”, giving it its own classification.
Then it is just a matter of using the correct hooks / functions to make the Admin menus display for this post type (Add New, Edit, etc.)
Here is an article from a few years ago that is a good place to start. It’s also using your example “Recipes”. http://idesignsolutions.co/2011/12/03/quick-guide-to-wordpress-custom-post-types
You’re on the right track. Just keep at it!
Forum: Hacks
In reply to: Hard coding category to custom post typeTo me it sounds like you are accomplishing what you are trying to do just by making the Custom Post Type, I don’t see why you would need to force the category “Recipe” on the post type “Recipes”.
Why not just query for that post type instead of the category?
Just had this same issue.
I resolved it by opening up the plugin .zip and renaming the file cms2cms-joomla-to-wp-migration to cms2cms-joomla-to-wp-migration.php
Worked after that. Plugin Author should update, since the plugin cannot be installed from the WP Repository or manual upload.