Submit Search
Upload
カスタム投稿タイプとカスタムフィールドで作るWebサイト
•
1 like
•
1,140 views
Tsuyoshi.
Follow
WordBench東京でお話した時のスライドです。
Read less
Read more
Software
Report
Share
Report
Share
1 of 15
Recommended
これからのpre_get_postsの話をしよう
これからのpre_get_postsの話をしよう
Hishikawa Takuro
WordPressで作る世界遺産サイト|カスタムフィールドとカスタム投稿編
WordPressで作る世界遺産サイト|カスタムフィールドとカスタム投稿編
Yoshinori Kobayashi
WordPressで投稿記事情報の取得方法
WordPressで投稿記事情報の取得方法
regret raym
テーマ制作時の疑問とノンプログラマーにも優しいテーマを考える
テーマ制作時の疑問とノンプログラマーにも優しいテーマを考える
Tsuyoshi.
WordPressスマートフォンテーマ制作
WordPressスマートフォンテーマ制作
Tsuyoshi.
WordPressのテストとデバッグ方法
WordPressのテストとデバッグ方法
Tsuyoshi.
WordPress初心者テーマ作成勉強会
WordPress初心者テーマ作成勉強会
Tsuyoshi.
WordPressユーザーのためのMovableTypeの基礎知識
WordPressユーザーのためのMovableTypeの基礎知識
Tsuyoshi.
Recommended
これからのpre_get_postsの話をしよう
これからのpre_get_postsの話をしよう
Hishikawa Takuro
WordPressで作る世界遺産サイト|カスタムフィールドとカスタム投稿編
WordPressで作る世界遺産サイト|カスタムフィールドとカスタム投稿編
Yoshinori Kobayashi
WordPressで投稿記事情報の取得方法
WordPressで投稿記事情報の取得方法
regret raym
テーマ制作時の疑問とノンプログラマーにも優しいテーマを考える
テーマ制作時の疑問とノンプログラマーにも優しいテーマを考える
Tsuyoshi.
WordPressスマートフォンテーマ制作
WordPressスマートフォンテーマ制作
Tsuyoshi.
WordPressのテストとデバッグ方法
WordPressのテストとデバッグ方法
Tsuyoshi.
WordPress初心者テーマ作成勉強会
WordPress初心者テーマ作成勉強会
Tsuyoshi.
WordPressユーザーのためのMovableTypeの基礎知識
WordPressユーザーのためのMovableTypeの基礎知識
Tsuyoshi.
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
カスタム投稿タイプとカスタムフィールドで作るWebサイト
1.
Word Bench TokyoWord
Bench Tokyo カスタム投稿タイプと カスタムフィールドで作る Webサイト Tsuyoshi. (@andante0727)
2.
自己紹介 名前 Tsuyoshi. @andante0727 生息地 福岡県 主なお仕事
Web制作全般(ディレクション以外) コミュニティ参加歴 2011/11/28 WordCamp Tokyo 2011 2011/12/23 WordCamp Tokyo 2011 非公式忘年会 2012/01/21 WordCrab Fukui 2012 (何故に神戸や福岡のCampに参加してないのか…ごめんなさい。) 勉強中 ・CS-Cart(仕事したいです。仕事下さい。) ・CakePHP(サービスを作る!)
3.
テーマ ・WordPressをブログでしか使ったことがない ・仕事で使いたいけれど、どう作るか解らない WordPressでWebサイトを作ってみましょう!
4.
目標とするWebサイト デザインはb-cures.(ビーキュアズ) のまあさんがしてくれました! 今回、架空の水族 館のページのテー マを制作しまし た。
5.
サイト階層 水族館の魚の一 覧を表示する ページです。 「水族館の魚たち」一覧ページ
6.
サイト階層 水族館の魚の詳 細を表示する ページです。 「水族館の魚たち」詳細ページ
7.
サイト階層 このようにいっ ぱい表示項目が ある…。 どう作ればいいんだ! 「水族館の魚たち」一覧ページ 「水族館の魚たち」詳細ページ
8.
サイト階層 カスタム投稿タイプと カスタムフィールドを 使います。 このように投稿ページで HTMLを流すようなことはせず
9.
カスタム投稿タイプって? この投稿タイプですが、独自のものを作れます。 ・WordPress 3.0からの機能 ・通常の投稿タイプはpost、固定ページはpage これを「カスタム投稿タイプ」といいます。
10.
カスタム投稿タイプって? 通常の投稿 カスタム投稿 (投稿タイプfishを作成) 固定ページ
11.
カスタムフィールドて? ・投稿ページで、任意の入力フィールドを作ること が出来ます。 カスタムフィールド を使用して実現
12.
使用プラグイン一覧 ・Custom Post Type
UI(Ver0.7.1) ・Custom Field GUI Utility(Ver3.2.4) (WordPressはVer3.3.1で検証しました。) プラグインを使うと簡単! 何だか難しそう…。
13.
テンプレート階層 fishの部分は投 稿タイプを表 しています。 index.php archive-fish.php single-fish.php トップページ 「水族館の魚たち」一覧ページ 「水族館の魚たち」詳細ページ
14.
テンプレート階層 実際のテーマ 構成はこうなっ てます。 css images js index.php archive-fish.php single-fish.php header.php sidebar.php footer.php style.css … CSSフォルダ … 画像フォルダ … JSフォルダ … トップページ … 一覧ページ … 詳細ページ … ヘッダー … サイドバー … フッター … テーマ用CSS
15.
詳しくはWebで! ご清聴有難うございました。 http://webcake.no003.info