Make sure your user has permission to publish.
Some WordPress setups users such as authors do not have permission to publish posts directly, instead they can submit them for review for an admin to review and decide whether the post should be published or not.
It is not a great idea to use an administrator user on daily basis so sometimes people create an author user for themselves without realizing that role does not have permission to publish without an administrator user reviewing the post.
If I’m right you need to grant your user role permission to publish or change your user role to one that has that sort of permissions.
Related Posts:
- Restore contents of deleted user
- Converting Posts to Pages
- When is the ‘post_content_filtered’ column in database cleared by WordPress?
- Determine if page is the Posts Page
- Get the Current Page Number
- Can posts have parents?
- Stop WP from creating “Sample Page” and “Hello World!” post
- Where is the old post permalink slug stored?
- Keyboard shortcut for updating a page or post?
- Apply the_title() filter in post & page title, but not in menu title
- How to display by default only published posts/pages in the admin area?
- Get current menu_order
- Difference between an archive and a page listing posts
- Delete Associated Media Upon Page Deletion
- The next_posts_link() works only with original $wp_query
- Get content from one page and show it on another page
- How to Check if a Page Exists by URL?
- Separate Database Tables For Different Post Types
- Connection lost. Saving has been disabled… (Updating Posts/Pages)
- get_children() Not Working with orderby Parameter
- how to limit edit_form_after_title hook to page and post edit only?
- Using single.php from plugin folder instead of default template folder
- Post/Page Publish/Update button not clickable once I make an edit
- Strategy for handling hierarchical pages with empty parent content
- Skipping first 3 posts in wp query
- Custom Field in Featured image for A particular post
- How to add a new tab to page editor
- How can I safely increase the character limit for post passwords?
- How to display the page title/content in the Posts page?
- How to Group Posts by the First Letter or Number?
- Callback for wp.autosave.server.triggerSave();
- How can I see a list of pages and post where my custom Gutenberg block is used?
- disable password protected page for logged users
- How are terms connected with posts in database?
- How to change post to page
- RSS for Pages Instead of Posts?
- Moving WordPress to new server: no posts found
- Display posts by tag on page
- Why do I need to use The Loop on pages (inside page.php etc)?
- What is the difference between “post” and “page” in WordPress?
- Create custom page in WooCommerce
- posts page – different lengths of excerpt
- WordPress automatic and permanent page
- Is there a WordPress equivalent to MediaWiki templates
- Determining Slug Before and After Edit
- Getting an alphabetic post list with two letters onclick on letter
- Automatically create pages in a post based on number of words
- Static posts page with home.php
- Change WordPress post-state in Admin Area
- Pagination not working on Custom Page Template
- Set number of article per number of page
- Pagination for Pages and Posts
- Custom Taxonomies Incorrectly Counting Revisions?
- Is it possible to show a different WP menu when using password protected pages?
- Can I change a post to a page by changing it’s type?
- Overview with latest edited posts and pages
- how to show all post in my page-grid.php template page
- eBooks download website, page or post?
- Multiple loops in same page, without duplicate content
- Add a custom option to a page in backend
- Include related posts on a page
- why does HTML Tag not working in Post and Page
- Creating new page with pre-defined parent page
- problem to delete page
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- database columns: post_title vs post_name
- Populating a page with content from post custom fields
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- Exporting Data from WordPress into a flat table
- Can I hide a specific post from latest posts page?
- Hide add new page button
- Edit menu item title from edit page/post
- Redirect before post page
- $post object is null
- How to show post(excerpt) from specific category on wp page?
- Insert posts in two tables
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- Instead of submiting an entire post, is there any way to submit a lite-post or a simple message?
- Is there any WordPress alternative to Book module of Drupal?
- Changing my permalink structure – will new layout conflict with existing page?
- Importing New Posts from Live Site into Local Dev Site
- Convert a complex webpage into WP theme
- How To Keep Posts from Being Displayed Two or More Times on My Homepage? [closed]
- disable column on post and user list
- WP_Query do not load specifed number of post
- Manually removing revision post types
- Can a page_id and a post_id be same?
- How much of my site can I recover from public_html?
- How to restore permanently trash page? [closed]
- Reset/Reorder posts ID in the MySQL wp_posts table
- How to store an extra (surrogate) ID when creating a post with wp_insert_post?
- Custom Blog Post Page
- How can I display widget in a Page or Post?
- Single post as homepage?
- Differentiate between posts and pages in search results
- Getting a 404 error when clicking edit page
- How do I find which articles are missing a featured image in The WordPress database?
- Creating a Page of Posts
- Private Posts/Pages & Search
- Split WP_POST table based on post types