Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WordPress.Skeleton @ PHP BLT #2

WordPress.Skeleton @ PHP BLT #2

PHP BLT #2 の LT 資料です。

関連リンク:
https://github.com/ttskch/WordPress.Skeleton
http://phpblt.connpass.com/event/23974/

Takashi Kanemoto

January 13, 2016
Tweet

More Decks by Takashi Kanemoto

Other Decks in Programming

Transcript

  1. WordPress Most popular CMS in the world Used by 25%

    of ALL websites Large variety of themes or plugins for customizing Not modern 8 / 29
  2. WordPress Most popular CMS in the world Used by 25%

    of ALL websites Large variety of themes or plugins for customizing Not modern 9 / 29
  3. You may want to: Install WP core via Composer Install

    plugins via Composer as a complete list of plugins installed Focus only our own theme's source codes composer.json 19 / 29
  4. Your own theme's source files! (and some additional files for

    skeleton mechanism.) Now, all you need to manage is $ git ls-files # some additional files for skeleton mechanism .gitignore LICENSE README.md backup/.gitkeep composer.json local-config-sample.php scripts/Installer.php wp-config.php wp-content/mu-plugins/add-skeleton-theme-directory.php wp-content/mu-plugins/index.php wp-content/plugins/.gitignore wp-content/plugins/index.php # your own theme's source files wp-content/themes/index.php wp-content/themes/my-theme/404.php wp-content/themes/my-theme/css/editor-style.css wp-content/themes/my-theme/css/ie.css wp-content/themes/my-theme/css/ie7.css wp-content/themes/my-theme/css/ie8.css wp-content/themes/my-theme/footer.php wp-content/themes/my-theme/functions.php wp-content/themes/my-theme/header.php wp-content/themes/my-theme/index.php wp-content/themes/my-theme/js/color-scheme-control.js wp-content/themes/my-theme/js/customize-preview.js wp-content/themes/my-theme/js/functions.js wp-content/themes/my-theme/js/html5.js wp-content/themes/my-theme/js/keyboard-image-navigation.js wp-content/themes/my-theme/js/skip-link-focus-fix.js wp-content/themes/my-theme/page.php wp-content/themes/my-theme/search.php wp-content/themes/my-theme/searchform.php wp-content/themes/my-theme/sidebar.php wp-content/themes/my-theme/single.php wp-content/themes/my-theme/style.css 24 / 29