香川県観音寺市にて ホームページ制作・システム開発を 行っている株式会社オルタです。 自社にてWebサービスの企画・開発・運用を行っております。そこから得られたデータを研究・分析し、サービス運営の経験から得られた確かなノウハウを蓄積しております。専門書や情報サイトなどに掲載されるよりも早く入手したノウハウを活用することでお客様のお手伝いをいたします。 制作実績 お問合せはこちら
カスタム投稿の一覧を指定した形式で表示する 前回はCustom Post Type UIを使ってカスタム投稿を作り、専用のテンプレートとループを作成するところまで解説しました。 今回は「専用の固定ページにカスタム投稿の一覧を指定した形式で表示する」というところまでやってみましょう。 ここまでできれば、あとはアレンジ次第で自在に投稿を表示させることができるようになります。 前回に続き、解説込みなので長文になります。ご了承下さい。 カスタム投稿一覧の作成手順 1.「page.php」を元にして「fishguide.php」を作る 「魚図鑑」ページの専用テンプレートなのでフィル名を「fishguide.php」とします。 3行目、テンプレート名を「魚図鑑用テンプレート」。 また15行目、ループファイルを「get_template_part( ‘loop’, ‘fishguide’ );」としまし
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く