You have never read the WP documentation?
Create any template and form and when submitting the form it could be
Example:
$args = array('post_type'=>'post', 'post_title'=>'your title', 'post_status'=>'publish', 'post_content'=>'post content');
wp_insert_post ($args);
This will allow any post page or custom post type to insert the post
Related Posts:
- How can I make it so the Add New Post page has Visibility set to Private by default?
- Publish Post After Click On A Link
- Action on post publish
- Redirect to another page using contact form 7? [closed]
- how to execute some code after a post is published in WordPress [duplicate]
- Function added to hook “new_to_publish” not executing – custom plugin
- trigger email when post is published by someone a user follows
- Show related posts based of current ACF field name in a single page post (a loop within loop)
- How to write a new file when new post has been published in WordPress
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- WordPress hide post from custom post-type on a single page
- Do something with thumbnail image on post publish
- How to Save settings of custom tab product page in admin side in a database?
- Is there a plugin or another way that can help me find out the underlying files of a page/post? [closed]
- Manually set global $post vars with an ID, in order to use template tags
- Show a different number of posts per page depending on context (e.g., homepage, search, archive)
- Limit access to posts/pages by user roles
- How can i force Display names to be the same as Usernames?
- How To Ignore a Filter On Applying Filter the Content In a Function
- Edit Imported advanced Custom Fields from wordpress Dashboard
- How to get posts by content?
- WP get_permalink Return Wrong URL
- Peer Review Plugin for Posts? [closed]
- post expire after x days
- add_meta_box Callback not being called
- Custom options page checkbox will not save, despite working with text
- Upload files programmatically to users
- Set attached to state
- Use plugin or custom post type for game score functionality
- Tag link suggestion plugin
- Bulk Image Uploader to create new post from each image [closed]
- Plugin not saving values when placed in a folder within /wp-content/plugins
- Security checking in meta_box save is reluctant?
- Display comments of users on single page
- Last modified field for user profile?
- Post query – show posts from specified day and month and whole years
- Support for simultaneous editing
- how do i remove posts from a WP_Query so the pagination is right?
- Accessing post’s meta data based on user’s click of a post
- View Private Published Page with URL Code (no login required)
- UnWanted Custom field added in the wp page edit area
- The problem with WordPress Importer
- How to query the custom fields by language?
- Solutions to repost categories into multisite blogs?
- Display post lists in 2nd paragraph
- Matching Chapters to a Custom posts [closed]
- Preg Match All doesn’t Allow echo first character for WordPress Taxonomy Tags
- External RSS feed to WordPress Portfolio
- how to add text to posts from tags
- WordPress metaboxes – textfield suggestion automatically populated
- Char limit on custom blog-post form? [closed]
- Would Gutenberg be considered a PlugIn?
- How do I enforce users to fill a determined custom field using WyPiekacz?
- How to get the first post and second post in a wordpress blog?
- How do I publish portfolio items with a future date?
- Adding class to last list item? Not WP generated
- WordPress plugin Post Creation [closed]
- Flickering sidebar when scrolling page [closed]
- Where Should i write the code for wordpress ajax voting?
- WP::is_main_query() Not Working
- Embed PDF into wordpress
- Hook Scripts and Styles in WordPress
- WordPress plugin: Getting posts where checkbox selected
- Woocommerce – Change Variable Product Add to Cart to behave like external product using Custom Field (link) [closed]
- How to auto strip hyperlinks & images in wordpress post
- how can authors to define custom pages?
- WP Editor, save content and category on frontend
- Plugin for TinyMCE to create reference to other posts
- Dictionary-style definition list plugin
- Adding custom Field To The Posts Listing
- help intercepting save_post through plugin
- Update existing post dates to random dates and time
- Table of contents (TOC) plugin is not showing header tag
- Preset custom fields
- get_post_meta shortcode returns empty field
- .com creates automated link in post
- Is it possible to customize a wordpress post from outside dashboard(Something like site.com/post-type/post/?e=post_id)?
- How to echo a PHP Code After the Content
- WordPress Product Detail and catalog
- WordPress CPT Url metabox collection
- Create Biographies
- How to add wordpress plugins in along with my standalone theme
- Changing the body of mail sent to new user registration
- Trending Tags based on post views
- Hidden Some Setting on Post or Page [duplicate]
- WordPress list child pages of custom post type
- Posts are deleted everyday at night
- Retrieve post thumbnails
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- Enforce conditions only for draft posts using WyPiekacz, ignore pending and published posts
- Is there a way to add a custom input field for every taxonomy term in WP post editor?
- Woocommerce custom fields
- Embedding BitBucket Code in Posting
- A plugin for software reviews site like this one?
- Render CMB2 select option to post page [closed]
- Redirect a specific User role not admins automatically to view the post that they just updated
- warning wp session
- How to add portfolio category post count in main navigation menu?
- How to update a lot of posts on my WP site with additional content?