カスタム投稿タイプ
カスタム投稿タイプを作成するプラグイン Custom Post Type UI:http://wordpress.org/extend/plugins/custom-post-type-ui/ カスタムポストタイプ・カスタムタクソノミーを細かく設定できる。 カスタムフィールドの設定はCustom Field Template で。 Custom Conten…
ワードプレスエンジニアの制作メモ | テーマ関数からサイト構築まで
カスタム投稿タイプを作成するプラグイン Custom Post Type UI:http://wordpress.org/extend/plugins/custom-post-type-ui/ カスタムポストタイプ・カスタムタクソノミーを細かく設定できる。 カスタムフィールドの設定はCustom Field Template で。 Custom Conten…
会員向けページを作成する場合、User Access Manager などのプラグインを使うのが簡単だが、コンテンツの表示部分にカスタムフィールドの値を含んでいる場合や、何らかの理由でプラグインを使いたくない場合はテンプレートを <?php if (post_custom('member') && is_user_l…