How would I create a post directly with PHP so that it goes through the process as a post normally would?
Including plugins such as All-in-one-seo.
How would I create a post directly with PHP so that it goes through the process as a post normally would?
Including plugins such as All-in-one-seo.
Do an include of wp-blog-header.php in your script. Then use the wp_insert_post() function. You pass it an array containing the post info. Check out the WP source for the function to see what you need.
try this plugin:
http://www.nosq.com/blog/runphp/
This topic has been closed to new replies.