• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
光速テーマ開発のコツ
 

光速テーマ開発のコツ

on

  • 12,996 views

WordCamp KOBE 2011

WordCamp KOBE 2011
2011-9-11 13:00-13:20

Statistics

Views

Total Views
12,996
Views on SlideShare
3,105
Embed Views
9,891

Actions

Likes
18
Downloads
46
Comments
0

16 Embeds 9,891

http://netaone.com 6922
http://sanko-site.com 2055
http://notnil-creative.com 849
http://192.168.20.29:8080 42
http://www.google.co.jp 5
https://www.google.co.jp 3
http://www.slideshare.net 3
http://s.deeeki.com 2
http://paper.li 2
http://cache.yahoofs.jp 2
http://192.168.20.29 1
http://wrs.search.yahoo.co.jp 1
https://www.google.com 1
http://localhost 1
http://webcache.googleusercontent.com 1
http://web-pallet.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

光速テーマ開発のコツ 光速テーマ開発のコツ Presentation Transcript

  • WordCamp KOBE 2011Designer’s Cafe 13:00-13:20Takuro Hishikawa(@HissyNC)
  • Web WordPress CMS WordPress concrete5Twitter: @HissyNC
  • WordPressWordPress
  • …if ( have_posts() ) : while ( have_posts() ) :the_post(); endwhile; endif;WordPress …
  • …if ( is_home() || is_front_page() ):if ( is_category(‘5’) ): …
  • … CSS
  • style.css OK/*Theme Name: KidTheme URI: http: //example.com/Description:Author: DemetrisAuthor URI: http: //example.com/about/Template: twentytenVersion: 0.1.0*/
  • @import@import url(../twentyten/style.css);
  • CSS
  • sidebar.php
  • … PHP http://wpdocs.sourceforge.jp/…
  • archive.phpcategory.phpcategory-news.php news
  • category-news.phpquery_posts() query_posts( $query_string . "&{ }" );
  • <?php// query_postsquery_posts( $query_string ."&posts_per_page=12" );// OKget_template_part( loop, list );?>
  • get_template_part()
  • get_template_part()WordPress3.0get_template_part()
  • get_template_part() <?php get_template_part( $slug, $name ) ?>{slug}-{name}.php{slug}-{name}.php{slug}.php
  • get_template_part( loop, list );loop-list.php loop.php loop.php
  • loop.php loop-list.phpCSS
  • front-page.phpfront-page.php
  • query_posts( "cat=1&posts_per_page=5" );get_template_part( loop, list );wp_reset_query();
  • TwentyTen TwentyEleven …
  • Toolbox TwentyEleven http://wordpress.org/extend/themes/toolbox
  • HTML5Reset PHP https://github.com/murtaugh/HTML5-Reset- Wordpress-Theme
  • NCWhite TwentyTen loop.php 57 (^^ http://notnil-creative.com/blog/archives/760
  • WordCamp KOBE 2011Designer’s Cafe 13:00-13:20Takuro Hishikawa(@HissyNC)