Publishing and scheduling posts: put a post live, now or later
Describes Publishing 0.19.0.
A Publishing post is public once one of its versions is published. This guide covers how you publish, how you take a post offline again, and how a post in a date-based group waits for its date before readers see it.
Where to find it
Two places, both needing the Publishing permission:
- the post editor (
/admin/publishing/<group>/<post>/edit): the Status and Publication Date & Time (UTC) fields at the bottom of the right column; - the group’s page (
/admin/publishing/<group>, for example Blog): the status menu on each post.
The three statuses
Status belongs to a version, not to a language: Applies to all languages in this version.
- Draft: not public. A new post and a new version start here.
- Published: the live version, the one readers see. A post has at most one.
- Archived: not public. A version that was live becomes archived when another version is published.
The group page has a tab for each status that has posts: Published, Draft, Archived and Trash.
Publishing from the editor
Set Status to Published and save (Save now). If another version is live, the editor warns first: Saving will publish this version and archive v1, which is live now. After the save, View Public opens the post on the site and Public URL shows its address. While you have unsaved changes, View Public is greyed out with Save the post before viewing the public page.
A version can’t be published while the primary language has no title. The save then keeps your text as a draft and says Post saved as a draft, but it can’t be published: the primary language needs a title.
Publishing sets the version’s publication date to the moment of publishing, unless it already has one.
Taking a post offline
The editor won’t take the live version offline. Setting it to Draft or Archived and saving keeps it published, with the message “The live version stays published — to take it offline, use Unpublish on the group page.”
Do it on the group page instead. Each post there has a status menu (Draft, Published, Archived):
- Draft or Archived on a published post takes it offline: the live version gets that status and the post has no live version left.
- Published on a post that isn’t live publishes it.
- Between Draft and Archived on a post that isn’t live, the change goes to its newest version.
The page confirms with “Status updated to Published” (or the status you picked).
Each post's status, in the list.
Scheduling a post
Scheduling works in Timestamp-based groups, where each post’s address is its date and time. The post’s date and time come from Publication Date & Time (UTC); Displays as: under it shows the value in the site’s date format.
To schedule, set the date and time to a moment ahead, set Status to Published and save. The post is published but held back: it is left out of the group’s listing, its post page and its feed until that moment, then appears on its own, with no further step. Until you set one, a new post in such a group is dated with the moment it was created.
The time you type is used as the site’s clock (the time zone in PhoenixKit’s general settings) to decide when the post appears, even though the field’s label says UTC. On a site set to UTC the two agree.
In a Slug-based group the date is shown on the post, but a date ahead doesn’t hold the post back: it is public as soon as it is published.
A group with a post scheduled ahead can’t be converted to readable URLs until that post is out or unscheduled; the conversion says “This group has scheduled posts; publish or unschedule them first”. The publishing-groups guide covers the conversion.
The sitemap
When a post goes live or leaves, or changes its address, Publishing asks for a sitemap refresh about 30 seconds later. This needs core’s Sitemap module with automatic regeneration on, and can be switched off with Sitemap refresh on the module’s settings page (see the publishing-settings guide). Exclude from the sitemap in the editor keeps one post out of the sitemap while it stays public.
What it doesn’t do
- The group page shows a scheduled post as Published, with nothing to say it isn’t public yet.
- Scheduling only holds posts back in timestamp-based groups.
- There is no date to take a post offline automatically; unpublishing is always done by hand.
- The editor can’t unpublish the live version; use the group page.