I’ve written a plugin which retrieves an xml file, parses and creates a series of […]
Tag: wp-insert-post
Add a default meta_value to new posts
I have a page template that allows users to create and update posts from the […]
wp_insert_post disable HTML filter
I have input value “<iframe>….</iframe>” (param ‘post_content’). When i execute wp_insert_post, function cut off my […]
Programmatically adding posts
I’m about to create parser which would be inserting new custom posts. So, it’s pretty […]
Posts added with wp_insert_post are moved to trash automatically
I’ve got a script that loops through some data and automatically creates some posts. foreach($data[‘title’] […]
How do I Import an RSS feed as WordPress posts without duplicates?
I have an XML feed url I am now using this code to create new […]
Programmatically insert hierarchical terms & set terms for post causes glitch?
I am inserting an array of terms into my custom taxonomy programmatically. Some terms have […]
Insert new term during new post creation
i am currently working on a snippet to insert a new post dynamically (it’s a […]
wp_insert_post does not write my post_name
i tried to generate a page via wp_insert_post. That works fine except that the post_name […]
add_menu_page Callback Function: Skip page content?
I want to have a menu item that will, on-click, add a page with certain […]
No More Posts Available.
No more pages to load.