This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"port": 3333, | |
"plugins": [ "WordPress/wp-lazy-loading", "./YOUR-AWESOME-PLUGIN" ], | |
"themes": [ "./YOUR-AWESOME-THEME" ] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- "./.data/db:/var/lib/mysql" | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: wordpress | |
MYSQL_DATABASE: wordpress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ==================== Emojis ==================== | |
# ✨ :sparkles: 新機能(New Feature) | |
# 🐛 :bug: バグ修正(Bagfix) | |
# 🔧 :wrench: バグではない修正 (Update) | |
# 💼 :briefcase: 開発ツール(Tools) | |
# 🎨 :art: デザインUI/UX(Accessibility) | |
# 🐎 :horse: パフォーマンス(Performance) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once(dirname(__FILE__) . '/vendor/autoload.php'); | |
$client = new Aws\S3\S3Client([ | |
'credentials' => [ | |
'key' => _AWS_ACCESS_KEY_ID, | |
'secret' => _AWS_SECRET_ACCESS_KEY, | |
], | |
'region' => 'ap-northeast-1', | |
'version' => 'latest', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<section class="container"> | |
<div> | |
<h1 class="title">test app</h1> | |
<div v-if="projects.length != 0"> | |
<ul> | |
<li v-for="project in projects" :key="project.id"> | |
<nuxt-link :to="'/projects/'+project.projectID">{{ project.name }}</nuxt-link> | |
</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ===== config ===== | |
$theme-colors: ( | |
red: #CE2121, | |
gold: #988768, | |
base: $base-color, | |
texts: $text-color | |
); | |
//mixin | |
@mixin eachBtnColor($colors) { | |
@each $key, $color in $colors { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //ページ送り | |
wp_link_pages( array( | |
'before' => '<div class="m-pagination"><h2 class="is-hide">ページ送り</h2>', | |
'after' => '</div>', | |
'link_before' => '<span class="m-pagination__number">', | |
'link_after' => '</span>', | |
) ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// you need rewrite rem() | |
hr,.wp-block-separator { | |
border-top: rem(2) dashed lighten($text-color,50%); | |
margin: rem(30) auto; | |
width: 50%; | |
&.is-style-wide { | |
width: auto; | |
margin: rem(30) 1em; | |
} | |
&.is-style-dots { |