wpdb Insert custom post type
-
So I have a very simple setup:
A HTML form
A query_posts loopThe form is used to insert a custom post type to the database. It works fine, the fields are populated, the post is visible in back-end.
The problem:
Even though the post is visible in backend it is not visible in the query unless another post is submitted (then the newly submitted is not visible and so on…).Am I missing a parameter somewhere?
- The topic ‘wpdb Insert custom post type’ is closed to new replies.