Creating a post

In this guide we will create a standard WordPress post from a form with two fields Title and Content. The functionality can be easily extended to insert Custom post types, by referring to the documentation for the wp_insert_post WordPress function. Creating a post Add the following code to your site (see Adding custom code for … Continue reading Creating a post