Hide or remove custom post status

I found the solution i was looking for, if anyone in the future has the same question i am posting the answer. To make a post with lets say “Status1” to show only “Status2” and hides other statuses like “Status3 and Status4” (with css): function hidepoststatus() { $post=”Status1″; global $post; if ( $post->post_status == ‘Status1’ … Read more

How publish post from pending status

When WordPress gives you errors such as that the post needs an author and permalink, it is best to figure out a way to provide these. Otherwise you are asking for trouble further down the line. You might find a way to force it, but it would be an uphill battle. WordPress is like a … Read more

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