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
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
tap "homebrew/services" | |
brew "unbound", restart_service: true | |
brew "ffmpeg" | |
brew "gifsicle" | |
brew "gist" | |
brew "httpd", restart_service: true |
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 | |
// 複数選択できるチェックボックスを定義 | |
class My_Customize_Multiple_Checkbox_Control extends WP_Customize_Control { | |
public $type = 'multiple-checkbox'; | |
protected function render_content() { | |
if ( empty( $this->choices ) ) return; ?> | |
<?php if ( !empty( $this->label ) ) : ?> |
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
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
tap "homebrew/services" | |
brew "ffmpeg" | |
brew "gifsicle" | |
brew "gist" | |
brew "hardlink-osx" | |
brew "imagemagick" | |
brew "mas" |
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
{"lastUpload":"2020-03-30T02:55:37.648Z","extensionVersion":"v3.4.3"} |
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
<!-- A 2x5 Grid Template Layout. It can be configured by the two input fields below --> | |
{{#Items}} <!--Section tag for iterating through the list of items--> | |
<div class="aalb" id="{{ID}}"> | |
{{#Item}} <!-- Section tag for beginning of information on one item --> | |
<div class="aalb__item"> | |
{{#aalb}} <!-- Section tag for picking up information on attributes for the item --> | |
<div class="aalb__img__wrapper"> | |
<a class="aalb__img__a" href="{{DetailPageURL}}" title="{{Title}}" target="_blank" rel="nofollow"> <!--Individual attributes are provided as variable tags as {{[[attribute]]}}. Check documentation for list of supported variable tags.--> |
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 | |
// Child theme sample. | |
add_action('after_setup_theme', 'themename_child_theme_setup'); | |
function themename_child_theme_setup() { | |
class Themename extends Themename_Base_Functions { | |
public function __construct() { | |
parent::__construct(); | |
} |
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 | |
add_action('customize_register', 'themename_customize_register'); | |
function themename_customize_register ($wp_customize) { | |
$wp_customize->add_panel( | |
'themename_panel', // パネルID | |
array( | |
'title' => 'パネルタイトル', | |
'priority' => 1000, |
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
getParam (name, url) { | |
if (!url) url = window.location.href | |
name = name.replace(/[[\]]/g, '\\$&') | |
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)') | |
var results = regex.exec(url) | |
if (!results) return null | |
if (!results[2]) return | |
return decodeURIComponent(results[2].replace(/\+/g, ' ')) | |
} |
NewerOlder