DEV Community

Sean Killeen
Sean Killeen

Posted on

[Solved] How can I publish a post in my drafts?

Problem

Currently, when I look at my dashboard, I see several drafts that I've imported via RSS.

I have "DRAFT", "EDIT", and "DELETE" buttons. Under each post

However, none of those buttons appears to give me the ability to actually publish a post. And unlike authoring this post, when I click "SAVE POST", it appears to revert back to the unpublished post, rather than publishing it.

Anyone know how I can actually get some of these out into the wild?

Solution

The post has a published: false piece in the frontmatter. Change it to true.

Oldest comments (32)

Collapse
 
seankilleen profile image
Sean Killeen

DOH! I missed the published: false in the frontmatter.

Collapse
 
nisevi profile image
Nicolas Sebastian Vidal

same here :P !

Collapse
 
jcubic profile image
Jakub T. Jankiewicz

Note that deleting it will not help, it need to be set to true.

Collapse
 
hydroweaver profile image
Karan

THANK YOU !!!!!!!!!!!!!!!!

Collapse
 
anishkny profile image
Anish Karandikar

yup happened to me too. duh! feature request: maybe have a button called "Publish" which explains how to actually publish a draft

Collapse
 
rikschennink profile image
Rik Schennink

Thanks! Super helpful :D

Collapse
 
kadnan profile image
Adnan Siddiqi

Darn, it was so unexpected. As a newbie I was just searching for a button

Collapse
 
agilebelma profile image
Belma

Thank you for sharing this tip! I really appreciate it!

Collapse
 
hozefaj profile image
Hozefa

Thanks 👍

Collapse
 
kevgathuku profile image
Kevin Gathuku

Thanks for this! I was also expecting to find a Publish button somewhere 😅

Collapse
 
millan123ta profile image
millan123ta • Edited

I have given the title but it's still showing that title not be blank? I don't know what happens?

Collapse
 
edo248 profile image
Eduard Babayan

Super helpful :)

Collapse
 
siddb profile image
Sidd B

Yup, I also missed the attribute published: false, and was wondering if it gets published automatically after following some process like Editorial approval etc.

Collapse
 
joelowrance profile image
Joe Lowrance

Thank you!

Collapse
 
securestep9 profile image
Sam Stepanyan

Publish button is needed - it is a fundamental UX/UI concept! Has somebody raised a feature request already?

Collapse
 
sanketmaru profile image
Sanket Maru

Happened to me too. Thanks for the post.

Collapse
 
jlengrand profile image
Julien Lengrand-Lambert

Good one! Thanks