WordPressを利用して、ブログではなくCMSとして企業サイト・企業ウェブサイト作成・商用ホームページ制作のテクニックを公開。WordPressの最新ニュースやプラグインの紹介、自作プラグインやテーマも開発中。
Custom Post Type Page Template plugin

Custom Post Type Page Template plugin

Custom Post Type Page Template plugin(カスタム投稿タイプページテンプレートプラグイン)は、固定ページのページテンプレートを固定ページ以外の投稿タイプ(投稿やカスタム投稿タイプ)でも使用できるようにするプラグインです。

ページテンプレートは、ページごとにテンプレートを切り替える機能で、残念ながら固定ページにだけ適用されるようになっています。ページテンプレートに似た機能を投稿や他の投稿タイプで利用できるようにするプラグインはあったりしますが、固定ページ用のページテンプレートを他のカスタム投稿タイプで利用することはできません。

テーマの多くがページテンプレートを用意しているため、直接ページテンプレートを他の投稿タイプでも利用できればテーマの効率性も向上すると思います。

ダウンロード

Custom Post Type Page Template plugin(カスタム投稿タイプページテンプレートプラグイン)のダウンロードは下記のリンクをクリックしてください。

または

ヒストリー

  • 2016.04.27 Custom Post Type Page Template 1.0.1
    • コードクリーニング。
  • 2012.11.01 Custom Post Type Page Template 1.0
    • 初リリース。

設定画面

プラグインをインストールして有効化すると、管理メニューの設定に「カスタム投稿タイプページテンプレート」という項目が追加されます。

設定画面

カスタム投稿タイプで、ページテンプレートを使用したい投稿タイプにチェックを入れます。

Twenty Eleven、Twenty Twelve などの一部のテーマでは強制モードにチェックを入れる必要があります。チェックなしでうまくいかない場合は、強制モードにチェックを入れてください。

ページテンプレート

上記のようにカスタム投稿タイプの編集画面にページテンプレートの選択画面が表示されます。

寄付

プラグインがお気に召しましたら、よろしければ下記のPaypalリンクよりご寄付ください。よろしくお願いいたします。




Custom Post Type Page Template plugin

The Custom Post Type Page Template plugin enables custom post types directly to add page templates of the page type.

It is unavailable to use page templates of the page type in other post types by default. Most of themes have original page templates of the page type as part of themes. Twenty Eleven also has two page templates. It is convenient directly to use page templates in custom post types except the page type, isn’t it?

The Custom Post Type Page Template plugin makes it possible to do.

Download

OR

History

  • 2016.04.27 Custom Post Type Page Template 1.0.1
    • Code cleaning.
  • 2012.11.01 Custom Post Type Page Template 1.0
    • Initial release

Donation

If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated.