announce-on-publish

plugin

2016.10.30 • public • Published 3 months ago

When publishing a new post (for a filtered list of post types), a modal box is presented for creating an additional announcement post.

Announce on Publish

When publishing a new post (for a filtered list of post types), a modal box is presented for creating an additional announcement post.

Description

On sites that have custom post types defined, it might be desired that when publishing (i.e., changing the status to publish) an additional post be created informing of this event. For example, in a site a defined post type could be project, and the ordinary posts are used as a news feed. This plugin can be used so that when a user creates a new project, the user is requested to create the announcement post. Additional to this plugin, a great companion can be one of the plugins that post to social networks, so that the announcement also gets propagated to these.

The usage of this plugin is quite simple. Only for the post types configured for announcements, when pressing the Publish button a modal box will appear, with fields to edit the announcement title and content. Once the post is in publish status, the announcement modal box will not appear anymore for any edits done the original post.

Support

Contribute

  • Development of this plugin on GitHub.
  • If you think you’ve found a bug (e.g. you’re experiencing unexpected behavior), please post at the support forums first.
  • If you want to help translating this plugin, you can do so on WordPress Translate.

Credits

Installation

Requirements

  • WordPress 4.6 or greater (might work in older versions, but not tested)
  • WordPress REST API (Version 2) plugin

Frequently Asked Questions

By default what post types are announced?

None. These need to be configured explicitly.

How do I configure the post types to be announced?

Go to Settings -> Announce on Publish. Then mark the checkboxes for the post types you want to announce and click on Save Changes.

Screenshots

  1. The settings page for configuring the post types to announce.
  2. The modal box that is presented for creating the announcements.

Changelog

2016.10.30

  • Added settings page to ease configuration of the post types.
  • Announcements can now be skipped if marked as not mandatory.

2016.10.23

  • Initial version.