Can’t publish custom type posts that don’t support title and editor, instead they’re saved as draft

After thorough investigation, I identified the root cause of the issue. TL;DR: A bug in my JavaScript code was causing the post form to be submitted without the necessary publish parameter. Consequently, WordPress interpreted the request as an attempt to save a draft. I resolved the issue by updating the code to include the publish … Read more

Problems with draft website pages

Possibly yes, possibly no. I would recommend setting them to private and published so that you can see links working. Drafts cannot be selected as menu links, nor do they have permalinks until they’re published (only the shortlinks and only while logged in), so that is why they aren’t working. If you’re afraid of taking … Read more

Display draft posts on single pages [duplicate]

You need to change into the code, by default wordpress shows only post which are published. In your case you need to change the $args = array( ‘post_status’ => array( ‘publish’, ‘draft’) ); $query = new WP_Query( $args ); for more info you can look into this link: Another thing you can alter your current … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)