Submit Search
Upload
初心者向け!WordPressのCSS ナビゲーション編
•
3 likes
•
2,842 views
Junko Nukaga
Follow
2014年1月17日WordBench大阪発表資料
Read less
Read more
Design
Report
Share
Report
Share
1 of 37
Download now
Download to read offline
Recommended
文系デザイナーでも大丈夫!レスポンシブWEBサイトをWordPressで作ってみよう
文系デザイナーでも大丈夫!レスポンシブWEBサイトをWordPressで作ってみよう
Junko Nukaga
ノンプログラマーのためのjQuery入門
ノンプログラマーのためのjQuery入門
Hayato Mizuno
レスポンシブ・ウェブデザイン基礎
レスポンシブ・ウェブデザイン基礎
masaaki komori
Webデザインの幅を広げる、jQuery【コードを記述する】 先生:保坂 庸介
Webデザインの幅を広げる、jQuery【コードを記述する】 先生:保坂 庸介
schoowebcampus
Webデザインのセオリーを学ぼう
Webデザインのセオリーを学ぼう
Toshiaki Sasaki
WordPressと離島での図書館作り〜コントリビュートすることで働き方を選択する未来へ
WordPressと離島での図書館作り〜コントリビュートすることで働き方を選択する未来へ
Junko Nukaga
WordCamp Kansai 2015 実行委員向け GPL勉強会 | GPL study sessions for WordCamp Kansai 2...
WordCamp Kansai 2015 実行委員向け GPL勉強会 | GPL study sessions for WordCamp Kansai 2...
Junko Nukaga
WordPress公式ディレクトリにテーマ登録をしたので、 そこらへん絡めつつ「継続すること」について
WordPress公式ディレクトリにテーマ登録をしたので、 そこらへん絡めつつ「継続すること」について
Junko Nukaga
Recommended
文系デザイナーでも大丈夫!レスポンシブWEBサイトをWordPressで作ってみよう
文系デザイナーでも大丈夫!レスポンシブWEBサイトをWordPressで作ってみよう
Junko Nukaga
ノンプログラマーのためのjQuery入門
ノンプログラマーのためのjQuery入門
Hayato Mizuno
レスポンシブ・ウェブデザイン基礎
レスポンシブ・ウェブデザイン基礎
masaaki komori
Webデザインの幅を広げる、jQuery【コードを記述する】 先生:保坂 庸介
Webデザインの幅を広げる、jQuery【コードを記述する】 先生:保坂 庸介
schoowebcampus
Webデザインのセオリーを学ぼう
Webデザインのセオリーを学ぼう
Toshiaki Sasaki
WordPressと離島での図書館作り〜コントリビュートすることで働き方を選択する未来へ
WordPressと離島での図書館作り〜コントリビュートすることで働き方を選択する未来へ
Junko Nukaga
WordCamp Kansai 2015 実行委員向け GPL勉強会 | GPL study sessions for WordCamp Kansai 2...
WordCamp Kansai 2015 実行委員向け GPL勉強会 | GPL study sessions for WordCamp Kansai 2...
Junko Nukaga
WordPress公式ディレクトリにテーマ登録をしたので、 そこらへん絡めつつ「継続すること」について
WordPress公式ディレクトリにテーマ登録をしたので、 そこらへん絡めつつ「継続すること」について
Junko Nukaga
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...
初心者向け!WordPressのCSS ナビゲーション編
1.
初心者でも大丈夫! のCSS ナビゲーション編 2014年1月17日 第25回WordBench大阪 額賀順子
2.
自己紹介 額賀 順子 |
ヌカガジュンコ フリーランスのWEBディレクター/デザイ ナー。 つまり1人で大概の事はやっちゃう人。 Twitter @nukaga 写真を撮ってる人と思われていることが多 いかも。 WEB制作やWEBの色彩設計を生業として います。
3.
本日のアジェンダ ✤ WordPressのCSSってどうなってるの? ✤ カスタムメニューって? ✤ wp nav menuって? ✤ メニュー1つにスタイルをあてたい
4.
WordPressのCSSって どうなってるの?
5.
WordPressのCSSってどうなってるの? WordPressのテーマフォルダの中に Style.css
6.
WordPressのCSSってどうなってるの? 遠っ! と思わな いで
7.
WordPressのCSSってどうなってるの? Style.cssでは@importも 使えますが
8.
WordPressのCSSってどうなってるの? 初心者と思うのならば CSSはstyle.cssひとつに まとめておいた方が無難 (子テーマ時は親テーマのCSS@importもあり。 子テーマって何?はまた今度)
9.
WordPressのCSSってどうなってるの? 管理者権限で 外観→テーマ編集
10.
WordPressのCSSってどうなってるの?
11.
WordPressのCSSってどうなってるの? できれば管理画面からは 触らずにFTP等でアクセス する方がおすすめ
12.
WordPressのCSSってどうなってるの? Jetpackプラグインを使うと
13.
WordPressのCSSってどうなってるの?
14.
カスタムメニューって?
15.
カスタムメニューって? 外観→メニュー WordPressテーマで表示できる ナビゲーションメニュー
16.
カスタムメニューって? 便利!
17.
カスタムメニューって? 自分でテーマを作る時には どうやって入れたら良い の?
18.
カスタムメニューって? テンプレートタグ wp nav menu を使う
19.
wp nav menuって?
20.
wp nav menuって?
21.
wp nav menuって? Codexの見方がわからん! デザイナーあるある…
22.
wp nav menuって? 基本的にはメニューを入れたい ところに <?php
wp_nav_menu(); ?>
23.
wp nav menuって? <?php
wp_nav_menu($args); ?> $argsって何? 引数ひきすう【 argument 】 args / アーギュメント
24.
wp nav menuって? <?php
wp_nav_menu($args); ?> argsのところにはパラメーターが 使える
25.
wp nav menuって? 使い方例
26.
wp nav menuって? $theme_location (文字列)
(オプション) テーマの中で使 われる位置。 ユーザーが選択できるように register_nav_menu() で登録されている必要 がある。
27.
wp nav menuって? 例えば
28.
wp nav menuって? Primary
Menu Front Menu Social Links Menu
29.
wp nav menuって? Primary
Menu Front Menu Social Links Menu
30.
wp nav menuって? functions.phpへ register_nav_menu('front',
'Front Menu'); ロケーション名 説明
31.
wp nav menuって? <?php
wp_nav_menu ( array( 'theme_location'=>'front')); ?> ロケーション名
32.
wp nav menuって? 例えば <?php
wp_nav_menu ( array( 'theme_location'=>'front' 'container'=> 'nav')); ?> ナビゲーションを囲うタグ
33.
wp nav menuって? 「今いるページのメニューは色を変えたい」 wp
nav menuを使うと 今いるページのメニューliタグのクラスに .current-menu-itemが自動で付与されます 便利!
34.
メニュー1つにスタイルを あてたい
35.
メニュー1つにスタイルをあてたい ここ! 「表示オプションにCSSクラスが!
36.
メニュー1つにスタイルをあてたい 記入すると クラスが追加される 追加したクラスへのCSSを style.cssへ書けばOK! 教えてくれた@bren_bossさん @tkc49さんありがとう
37.
ご清聴ありがとうございました! 良きWordPressライフを! というわけで実践へ
Download now