Post Type Switcher

説明

このプラグインは、投稿の編集画面に投稿タイプを選択するドロップダウンを追加して、投稿タイプを変更できるようにします。編集中の投稿でも、投稿タイプを切り替えられます。

サポートされている投稿タイプ

投稿、固定ページ、添付ファイル、カスタム投稿タイプを相互に変換できます。

  • 固定ページから投稿へ
  • 投稿から固定ページへ
  • 投稿からカスタム投稿タイプへ
  • カスタム投稿タイプからカスタム投稿タイプ

3.0.0から添付ファイルへの切り替えのサポートが削除されました。これは後のバージョンで戻す可能性があります。

リビジョンやナビゲーションメニューなどの非表示の投稿タイプは除外しています。プラグインの ‘pts_post_type_filter’ を利用して調整すれば、これらの投稿タイプにもアクセスできるようにすることが可能です。

一括編集

一括編集機能 (謝辞: Matthew Gerring) を使えば、ある投稿タイプに属するすべての投稿を選択して、新しい投稿タイプに一括して変更できます。

ブロックエディター

ブロックエディター (別名 Gutenberg) に対応しており (謝辞: Daniel Bachhuber)、ブロックエディターとクラシックのいずれを使用していても、埋め込みコンテンツを失うことなく投稿タイプを切り替えることができます。

スクリーンショット

  • 投稿一覧画面の「タイプ」欄
  • クイック編集の「投稿タイプ」ドロップダウン
  • 編集画面の「投稿タイプ」ドロップダウン

インストール

インストール

  1. WordPress の管理画面で [プラグイン] -> [新規追加] をクリックします。
  2. Post Type Swticher を検索
  3. [今すぐインストール] ボタンをクリックしてインストールします。
  4. [有効化] をクリックしてプラグインを有効化します。
  5. 編集画面の [公開] ボタンの上に [投稿タイプ] インタフェースがあります。
  6. 必要に応じて投稿タイプを変更します。

最小要件

  • WordPress バージョン5.0以上。
  • PHP バージョン7.0.0以上。
  • MySQL バージョン5.7以上。

推奨要件

  • WordPress 最新バージョン
  • PHP バージョン 8.0以上。
  • MySQL バージョン8.0以上、または MariaDB 10.5以上。

FAQ

どのようなときに必要になりますか?

投稿タイプを個別に変更するときに役立ちます。

タクソノミーの設定がおかしくなることはありませんか?

投稿の post_type プロパティを変更するだけなので、タクソノミーには影響しないはずです。

Does this ruin block-editor content?

It should not. Be careful when editing HTML content while switching between editor types!

Will this delete my content?

No. This plugin does not include any code capable of deleting anything.

Plugin conflicts are not unheard of and can be difficult to troubleshoot.

If you’re worried, backup your database and deactivate all other plugins before using this tool.

困り事があれば WordPress.org のサポートフォーラムからお問い合わせください。

評価

2024年2月7日
Outstanding clean, simple and awesome plugin. Saved me maaany hours tonight! Big thanks!!
2024年1月31日
Great and simple, even if you only change a few posts, you save a tangible amount of time. Thanks!
2024年1月22日
Thank you SO MUCH for this plugin! I don't know why WordPress removed this feature. We had an older site where some pages were made as posts. Your plugin worked perfectly, and enabled us to convert those pages to posts. Thank you again!!
2023年10月26日
Thank you, very good plugin, I changed 50 articles into pages in 2 minutes!
234件のレビューをすべて表示

貢献者と開発者

Post Type Switcher はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Post Type Switcher” は30ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Post Type Switcher” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

3.3.0

  • Hide the “Type” column by default

3.2.1

  • Update author
  • Add sponsor link

3.2.0

  • Block editor support

3.1.0

  • 再帰的に呼び出された時の投稿先の問題を修正

3.0.0

  • クイック編集の改善と一括編集のサポート
  • 元に戻す方法が無いので、attachmentsタイプのサポートが削除されました。
  • カスタム投稿タイプが予期せず切り替わってしまう問題の修正

2.0.1

  • Ensure quick-edit works with new procedure
  • Quick-edit “Type” column works again!

2.0.0

  • Improved plugin compatibility with WooThemes Sensei
  • Filter post arguments vs. hook to save_post
  • Add “post_type_switcher” action

1.7.0

  • Add support for network activation

1.6.0

  • Add textdomains for localization
  • Load translation strings using load_plugin_textdomain()
  • Before saving data chack if it’s not an autosave using wp_is_post_autosave()
  • Before saving data chack if it’s not a revision using wp_is_post_revision()
  • Security: Prevent direct access to directories
  • Security: Translation strings escaping
  • Add screenshots

1.5.0 – norcross

  • Fix multiple quickedit dropdowns

1.4.0

  • Improve handling of non-public post types

1.3.0

  • Fix saving of autodrafts

1.2.1

  • Improved WordPress 3.9 integration (added dashicon to publish metabox)

1.2.0

  • Add bulk editing to supported post types
  • Props Matthew Gerring for bulk edit contribution

1.1.1

  • Add is_admin() check to prevent theme-side interference
  • Change save_post priority to 999 to avoid plugin compatibility issues
  • Remove ending closing php tag
  • HTML and PHPDoc improvements

1.1.0

  • Fix revisions being nooped
  • Fix malformed HTML for some user roles
  • Make a singleton (meh…)

1.0.0

  • Fix JS bugs
  • Audit post save bail conditions
  • Tweak UI for WordPress 3.3

0.3.0

  • Use the API to change the post type, fixing a conflict with persistent object caches
  • No longer requires JavaScript

0.2.0

  • Disallow post types that are not public and do not have a visible UI

0.1.0

  • リリース