brew install git-ftp
git config git-ftp.dev.url ftp://:/
| br { | |
| content: ""; | |
| margin-left: 5px; | |
| } |
| /* | |
| * icon list: https://material.io/tools/icons/?style=baseline | |
| * codepoints: https://github.com/google/material-design-icons/blob/master/iconfont/codepoints | |
| */ | |
| .icon { | |
| &:before { | |
| content: '\e315'; | |
| font-family: 'Material Icons'; | |
| } | |
| } |
| <?php | |
| /** | |
| * allowed blocks type | |
| * Block List: https://en.support.wordpress.com/wordpress-editor/blocks/ | |
| * | |
| * @param bool|array $allowed_block_types Array of block type slugs, or | |
| * @param object The post resource data. | |
| */ | |
| function filter_allowed_block_types( $allowed_block_types, $post ) { | |
| // echo '<pre>'; |
| $(() => { | |
| $(window).on('resize', onResize).trigger('resize') | |
| }) | |
| function onResize() { | |
| const playerHeight = (9 / 16) * window.innerWidth | |
| $player.toggleClass('is-vertical', window.innerHeight > playerHeight) | |
| } |
| import Vue from 'vue' | |
| import { DatePicker } from 'element-ui' | |
| import langJa from 'element-ui/lib/locale/lang/ja' | |
| import langEn from 'element-ui/lib/locale/lang/en' | |
| import locale from 'element-ui/lib/locale' | |
| import 'element-ui/lib/theme-chalk/index.css' | |
| import moment from 'moment' | |
| const pageLang = document.querySelector('html').getAttribute('lang') | |
| const isJa = pageLang === 'ja' |
| <?php | |
| /** | |
| * | |
| * Transients API settings | |
| * | |
| */ | |
| namespace THEME_NAME; | |
| class Transients |