I have a function that creates a page when I create a post (so as […]
Tag: wp-insert-post
WP insert post and custom taxonomy
I have create a custom post type in my WordPress attached with a custom taxonomy. […]
How do I set a featured image (thumbnail) by image URL when using wp_insert_post()?
While looking through the function reference entry for wp_insert_post(), I noticed that there’s no parameter […]
using $wpdb to insert a form into a post
I am wanting to take the following form, and use $wpdb to insert it into […]
When and Where to use wp_insert_post()
I’m building a function that creates a group of pages with a common parent ID. […]
Programmatically Creating Page using $wpdb and getting 404 error
EDIT: Turns out I had a permalink issue that was causing the 404 error. Original […]
Is it possible to create a post using a metabox?
I am trying to create a post (well, in the end, multiple posts) from a […]
PHP/Manual use of images? – 2 Questions
I’ve made a quick PHP script/page that uses the wp_insert_post() function to insert a post […]
Proper formatting of post_date for wp_insert_post?
What is the proper way to define the post date when submitting a post from […]
save_post + insert_post = infinite loop
I’m trying to automatically create a new post when a post containing a certain custom […]
No More Posts Available.
No more pages to load.