QuickPost – Add New Posts & Duplicate from the Block Editor

外掛說明

A razor sharp plugin that does just one thing: allow you to quickly create new posts from the Block Editor toolbar. You can create new posts in one of two ways:

  1. Create a brand new empty post.
  2. Duplicate the current post.

This brings back the ability to create new posts, pages, custom post types quickly and easily even when you’re in Fullscreen Mode in the Editor.

If you enjoy the plugin, please leave a review! ⭐

If you have a feature request, please create an issue in the GitHub repository. ➕

If you need support, please use the support forum to reach out. 🆘

Key Features

  • A disabled button is available in the toolbar in brand new posts
  • The “Add New” button becomes clickable once your post’s status is auto-draft, draft, pending, published, or any other state except new.
  • You can duplicate the current post with two clicks.

Upcoming Features

  • A handy shortcut to create new posts from your keyboard when in the block editor

Stay Connected

螢幕擷圖

  • In brand new posts, the Add New button is disabled.
  • In posts that are not new, the Add New button is clickable and lets you create new and duplicate posts right from the Block Editor.
  • Click the kebab menu button to reveal the Duplicate Post button.
  • Clicking the Add New button takes you to a fresh new post of the same post type.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/ directory, install the plugin through the WordPress plugins screen directly, or search for QuickPost in the Block Library.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress if installed manually or through the WordPress plugins screen.
  3. Use the Add New button in the Block Editor toolbar when needed.

常見問題集

Is this plugin supported?

Yes, this plugin is actively supported. If you have a question, issue, or you’ve identified a bug, please reach out through the support forums.

What gets duplicated?

Right now all default WordPress post information gets duplicated, except featured images. Currently, custom taxonomies, Yoast information, or custom additions are not supported. But as the plugin evolves, more support will be added. Please use the support forums to let us know what you’d like added support for.

How can I change when QuickPost is available?

The plugin provides a filter called QuickPostDisplay to help you affect QuickPost’s visibility. Refer to the example in the README on GitHub.

使用者評論

2022 年 5 月 13 日
Thank you so much for creating this plugin, as I'm busy cranking out screens with FSE, and though I probably 'should' be creating patterns to reuse this has simply saved me SO much time. NOTE: Only thing one needs to know is to collapse the 'list view' to access the 'duplicate page/post'. Thank you again.
2022 年 4 月 17 日
Exactly what is needed when adding numerous pages of content to a site. Thanks for taking the time to create & share! 100% Should be on core!!
2022 年 3 月 20 日
Aurooba is on to something here. I originally installed QuickPost to test it out. I knew it would take some time. I installed the plugin on my most heavily used site. To my surprise, the first post I used the plugin to duplicate was The Events Calendar post. It worked like a charm! I could duplicate the post or just use it to make a new one. QuickPost works in the Gutenberg editor which is missing the old admin bar creating an extra click. QuickPost eliminates that extra click. Additionally, it saves one from having to create a template for a post. Need to create a post with the exact same format, use QuickPost to duplicate it. So if you are a heavy Gutenberg editor user, consider installing this plugin to save you extra clicks, time, and some heartache!
2022 年 2 月 22 日
Surprisingly useful, especially if you jumped on the FSE hypetrain.
2022 年 2 月 21 日
Just tried it, works great, the users would love it I'll be using it for code reference 🤩 Aurooba used the native WordPress components and followed the coding standards, keeping it simple. Thanks for retaining WP branding so that the new button doesn't stand out. I also like the user experience that comes with quickly adding and duplicating in full-screen mode This feature might be added to the core, until then this plugin is the right way to go!
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈QuickPost – Add New Posts & Duplicate from the Block Editor〉的開發相關工作。

參與者

QuickPost – Add New Posts & Duplicate from the Block Editor 外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈QuickPost – Add New Posts & Duplicate from the Block Editor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1.4 – May 10, 2022

  • Looks like the last release didn’t get pushed correctly, so this is a push to actually fix the common.min.css problem.

0.1.3 – May 6, 2022

  • FIX: the common.min.css file was getting enqueued unnecessarily to the front-end, this fixes that. Thanks for the report @mrwweb!

0.1.2 – May 1, 2022

  • NEW FEATURE: You can filter the visibilty of the entire QuickPost button using the filter QuickPost.Display. QuickPost has a property called visibility, which you can set to true or false depending on a condition of your choosing.
  • ENHANCEMENT: The Add New button into a true semantic link to allow folks to open the new post in the current tab/window, new tab, or new window.
  • ENHANCEMENT: When you choose to duplicate a post, on success, not only does the entire menu item transforms into a semantic link (for the same benefits as the add new button transformation, but also with the call to action Edit duplicated {post type label}, to correctly indicate they’ll be taken to the editor for the newly duplicated post.
  • FIX: the translations weren’t working correctly because of an incorrectly enqueued file, that’s been fixed.

0.1.1 – February 27, 2022

  • Fixes a small bug that causes a fatal error on installs running PHP versions lower than PHP 7.3

0.1.0 – February 21, 2022

  • Release