説明
このプラグインを使用すると、ユーザーは任意の種類の投稿を複製したり、新しい下書きにコピーしてさらに編集したりできます。
使い方:
-
「投稿の編集」 / 「ページの編集」で、投稿 / ページのタイトルの下にある「複製」リンクをクリックできます。これにより、すぐにコピーが作成され、リストに戻ります。
-
「投稿の編集」 / 「ページの編集」で、1つ以上の項目を選択し、「一括操作」プルダウンで「複製」を選択して、それらをすべて一度にコピーできます。
-
「投稿の編集」 / 「ページの編集」では、投稿 / ページのタイトルの下にある「新規下書き」リンクをクリックすることができます。
-
投稿編集画面で、「キャンセル」 / 「ゴミ箱に移動」の上、または管理バーで「新規下書きとして複製」をクリックできます。
-
ログインしたユーザーとして投稿を表示しているときに、管理バーの[新規下書きとして複製]をクリックすることができます
3、4、5で新しい下書きの編集ページが表示されます。お好きな変更を加えて「公開」をクリックすれば完了です。
テンプレートタグもあるので、それをテンプレートに入れて、フロントエンドから投稿 / ページの複製を作成できます。 リンクをクリックすると、管理バーのリンクと同じように、新しい下書きの編集ページに移動します。
Duplicate Post には、その動作をカスタマイズしたり、特定の権限グループや投稿タイプに使用を制限したりするための便利な設定がたくさんあります。yoast.com の豊富なドキュメントや開発者向けのドキュメントをご覧ください。
貢献
このプラグインを便利だと思い、貢献したい場合は、次の2つの方法があります。
インストール
WordPressの「新しいプラグインの追加」機能を使用して「Duplicate Post」を検索するか、アーカイブをダウンロードして:
- このコンピューター上でアーカイブを解凍します
- Upload
duplicate-post
ディレクトリを/wp-content/plugins/
ディレクトリにアップロードします - WordPress の「プラグイン」メニューからプラグインを有効化してください
- 設定 -> Duplicate Post に移動して、必要に応じて動作をカスタマイズします
FAQ
-
プラグインが動作しません、なぜですか?
-
まず、あなたのWordPressのバージョンをチェックしてください。プラグインは古いバージョンでは動作しません。プラグインの最新バージョンにアップグレードすることも忘れないでください!
その後、無効にして再度有効にしてください。これにより、問題が修正されたという報告があります。
設定の[権限]タブにも注意してください:目的の権限グループと投稿タイプに対してプラグインが有効になっていることを確認してください。
それでも機能しない場合は、他のプラグインと何らかの競合がある可能性があります。フォーラムに気軽に書き込んでいただければ、解決策を見つける努力をさせていただきます (他のすべてのプラグインを1つずつ無効にしてみるのは非常に役立ちます。しかしこれは、何をやっているのかをよくご存じの場合にのみ行ってください。発生するかもしれない問題については責任を負いかねます)。
-
プラグインが私の言語で翻訳されていません!
-
バージョン3.0以降、プラグインの翻訳は WordPress.org プラットフォームによって管理され、プラグインは言語ファイルなしで出荷されるため、まず、ダッシュボード -> 更新で翻訳を更新します。
Duplicate Post がまだ英語である場合、または翻訳されていない文字列がある場合は、 自分の言語への翻訳を手伝うことができます。必要なのは WordPress.org アカウントのみです。
評価
貢献者と開発者
変更履歴
4.1.2 (2021-03-23)
改善:
- Allows plugins such as ACF to add fields to the “Compare changes” screen for Rewrite & Republish.
バグ修正:
- Fixes a bug where the “Compare changes” screen for the Rewrite & Republish feature displayed a broken layout in WordPress 5.7.
- Fixes a bug where a post type enabled by filter couldn’t be copied.
- Fixes a bug where the “Show links in” settings were reset to the default value on version upgrade.
4.1.1 (2021-01-27)
バグ修正:
- Fixes a bug where editing posts with Elementor could trigger a fatal error.
4.1 (2021-01-27)
改善:
- Improves compatibility between Elementor and the Rewrite and Republish feature.
バグ修正:
- Fixes a bug where Rewrite & Republish notices would be shown for regular copies.
- Fixes a bug where the original post of a Rewrite & Republish copy was listed in the Yoast SEO Premium link suggestions.
その他:
- Disables the plugin for WooCommerce products and introduces filter for enabled post types.
4.0.2 (2021-01-14)
バグ修正:
- Fixes a bug where errors or notices could be triggered when using the plugin with some other plugins or custom code.
4.0.1 (2021-01-12)
バグ修正:
- Fixes a bug that caused a fatal error when used with some plugins.
4.0 (2021-01-12)
改善:
- Introduces the Rewrite & Republish feature, offering you the possibility to update a post/page without taking it offline or having to take extra steps. This feature is currently not available when Elementor is active on your site.
- Introduces an integration with the Block Editor.
- Introduces new settings to individually enable/disable the
New Draft
,Clone
andRewrite & Republish
links.
3.2.6 (2020-09-17)
- Compatibility with WordPress 5.5
- Fixed bug about copying comments in WordPress 5.5
- Check user permission when adding option to the bulk actions dropdown list
- Improved update notice to be displayed only on selected screens when updating from < 3.2.5
- Updated template tag documentation link
- Added missing gettext to “Subscribe” button
3.2.5 (2020-07-07)
- Yoast からの初リリース
- Accessibility improvements to the settings page
- Accessibility improvements to the “Show original item” metabox
- Accessibility improvements to the “Show original item” check box in Quick Edit
- duplicate_post_blacklist_filter deprecated in favor of duplicate_post_excludelist_filter
3.2.4 (2019-12-10)
- Options to show original item in post list (in a column or alongside post states) or in a metabox in the edit screen
- アクセシビリティの改善
- そのほか小さなバグを修正
3.2.3 (2019-07-10)
- CF7の以前のバージョンとの非互換性を修正
- Now roles without edit_posts capability but having equivalent capability for custom post types can be allowed to copy
- Small other fixes to bugs that could lead to incompatibilities with WPML and others
3.2.2 (2018-04-13)
- 「管理バー」オプションは投稿編集画面にもリンクを表示するため、新しい投稿編集画面(Gutenberg)を有効にしたままでも、このプラグインを利用することができます
- 新規インストール時には、”Slug” のオプションは、デフォルトでは設定されていません。
- 小さな画面表示での管理バーアイコンの表示を改善しました
3.2.1 (2017-11-25)
- 大規模改修前の最新バージョンのいくつかの不具合を修正しました
- マルチサイト上でアップグレードした際の不具合を修正しました
- WPML チームのおかげで、多言語における互換性が向上しました
- 複製の作成直後にリビジョンを作成しないようにします
3.2 (2017-04-04)
- 豊富なドキュメントを備えた新しいサイト
- WPML との互換性。WPML チームに感謝します
- Jetpack 互換性の改善 (サブスクリプション、Markdown)
- フックの小さな変更
- nonce を使ったセキュリティ改善
- さまざまな小さな修正
3.1.2 (2016-12-13)
- カスタムフィールドが複製されない問題を修正
3.1.1 (2016-12-13)
- Fix for nasty update nag (plus a failsafe checkbox)
3.1 (2016-12-13)
- 一括複製操作の追加 (WP 4.7+)
- Wildcards enabled for custom fields to skip
- Options to copy post author, post format (moved from taxonomies), menu order, post template
- Check publish_posts/publish_pages capability to prevent Contributors from publishing by cloning
- Using wp_slash (WP 3.6+) or a better workaround (WP 4.4+) on the post and its meta, should also fix some compatibility issues
- Check if admin bar is showing before enqueueing CSS
- Probable fix for repeated clone bug
- その他のマイナーなバグ修正
3.0.3 (2016-10-29)
- コピー後の管理者への通知
- カスタム投稿タイプのアーカイブでの警告を修正
- バージョンと通知にサイトオプションを使用
- 軽微な修正
3.0.2 (2016-10-18)
- Can now be enabled for every custom post type with visible UI (not just public ones)
- Admin bar CSS only enqueued when needed
- 新しい「寄付」のボタン
- マイナーなバグや誤字を修正
3.0.1 (2016-10-09)
- 古いバージョンからアップグレードする人のための問題を修正
3.0 (2016-10-09)
- 設定ページを再設計
- More options to enable/disable copy of every part of a post
- Enable/disable cloning for every custom post type
- Jetpack Publicize 互換性
- XSS の可能性を修正
- その他の小さなバグを修正
- WP.org の公式翻訳プロジェクトを使用するために翻訳を削除
- PHP 7の互換性を確認しました
2.6 (2014-04-27)
- PHP 5.4 (Strict Standards) compatible
- XSS および SQL インジェクションの可能性を修正
- その他バグ
- 翻訳の更新と追加
- WP 3.8.1までテスト済み
2.4.1 (2014-02-22)
- 下書きパーマリンク関連のリグレッションを修正
- guid のバグを修正
- Don’t clone to_ping and pinged (maybe there will be an option about those later)
2.4 (2012-04-29)
- New option to clone the children of the original page
- ライセンスを GPLv2 以降に変更
- 下書きの公開日を修正
- 接頭辞/接尾辞のバグを修正
- 翻訳プロジェクトを GlotPress に移動しました
2.3 (2012-04-06)
- 「複製」リンクを表示する場所を選択するオプションを追加
- Clone attachments (i.e. references in the DB, not physical files)
- 未翻訳のユーザー権限グループ向け修正
- Some other fixes (missing checks, PHP warnings and errors, etc.)
2.2 (2012-02-01)
- Fix for problems when copying serialized meta fields
- 複数の_dp_original フィールドの修正
- Removed deprecated parameter when adding options
2.1.1 (2012-01-04)
- Can’t rely on activation hook for upgrade, this caused problems with new options
2.1 (2012-01-03)
- さらに多くのコードの整理 (WP API を使ったカスタムクエリーが不要になりました)
- 複製時のターム順序の保持
- Stopped using deprecated User levels, now it uses Roles and Capabilities
- 管理バーの「新規下書きとして複製」リンク
- duplicate_post_get_original テンプレートタグ
- プラグインリストの設定リンク、オプションページの「寄付」および「翻訳」リンク
2.0.2 (2011-12-12)
- パーマリンクのバグを修正
- Two links on posts list: clone immediately or copy to a new draft to edit.
- マルチサイトモードでテスト済み。
2.0.1 (2011-12-08)
- アクションフィルターのバグを修正
- New option so you can choose if cloning from the posts list must copy the post status (draft, published, pending) too.
2.0 (2011-12-08)
- WP 3.3との互換性 (まだマルチブログ機能に対するテストはされていないため、ご注意ください)
- WP 最低バージョン: 3.0
- コードのクリーンアップ
- 投稿一覧からの即時複製
- タクソノミーと投稿抜粋用のオプションを追加
- 接尾辞オプションを追加
- テンプレートタグを追加
1.1.2 (2011-04-08)
- WP 3.1.1との互換性 (まだマルチブログ機能に対するテストはされていないため、ご注意ください)
- ポーランド語の完全な言語ファイルを追加
1.1.1 (2010-06-30)
- Plugin split in two files for faster opening in Plugins list page
- いくつかの他のプラグインとの衝突を修正
- オランダ語ファイルを追加
1.1 (2010-06-24)
- WP 3.0との互換性 (まだマルチブログ機能に対するテストはされていないため、ご注意ください)
- Option page: minimum user level, title prefix, fields not to be copied, copy post/page date also
- ドイツ語、スウェーデン語、ルーマニア語、ヘブライ語、カタロニア語 (未完成) 、ポーランド語 (未完成) の言語ファイルを追加
1.0 (2010-06-15)
- WP 2.7+インターフェースとの連携の改善
- 投稿のメタデータを自己管理テーブルに保存するプラグインのアクションを追加
- フランス語とスペイン語の言語ファイルを追加
- WP 2.6.5互換性の削除
0.6.1 (2009-12-03)
- WP 2.9互換性をテスト
0.6 (2007-07-21)
- WP 2.8.1の修正
- WPMU 互換性
- 国際化 (イタリア語と日本語の言語ファイル完成)
0.5 (2009-01-09)
- post-meta の修正
- WordPress 2.7 との互換性
0.4 (2008-11-23)
- WP の新しい投稿リビジョン機能のサポート
0.3 (2008-03-01)
- WP リポジトリでの最初のバージョン