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
function change_graphic_lib($array) { | |
return array('WP_Image_Editor_GD', 'WP_Image_Editor_Imagick'); | |
} | |
add_filter('wp_image_editors', 'change_graphic_lib'); |
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
// Share Facebook Crawl Strategy | |
$parameters = array( | |
'app_id' => $this->share_facebook_app_id, | |
'app_secret' => $this->share_facebook_app_secret | |
); |
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
// Share Facebook Crawl Strategy | |
$parameters = array( | |
'app_id' => $this->follow_facebook_app_id, | |
'app_secret' => $this->follow_facebook_app_secret | |
); |
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
p { | |
margin: 0 0 1rem 0; | |
@include smartphone { | |
margin: 0 0 0.5rem 0; | |
} | |
} |
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
$width-desktop:1024px; | |
$width-tablet:768px; | |
$width-smartphone:568px; | |
$width-scrollbar:20px; | |
// Media Queries | |
@mixin desktop { | |
//PC表示: 768+20=788px〜 | |
@media only screen and (min-width: $width-tablet + $width-scrollbar) { | |
@content; |
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
<!DOCTYPE html> | |
<html amp lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<title><mt:EntryTitle></title> | |
<link rel="canonical" href="<mt:EntryID zero_pad="6">.html"> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
<script custom-element="amp-anim" async src="https://cdn.ampproject.org/v0/amp-anim-0.1.js"></script> | |
<script custom-element="amp-iframe" async src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script> |
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
#ranklet-{{context.id}} { | |
.ranklet-wrapper { counter-reset:ranklet-item; } | |
.ranklet-item { | |
position:relative; | |
margin:0 0 12px; | |
overflow:hidden; | |
cursor:pointer; | |
&:first-child:before { | |
width:40px; | |
height:40px; |
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
<aside class="ranklet ranklet-reset"> | |
<div class="ranklet-wrapper"> | |
{{#context.pages}} | |
<div class="ranklet-item"> | |
<a href="{{url}}" class="ranklet-link"> | |
{{#image}} | |
<figure class="ranklet-image"><img src="{{image}}" alt="{{title}}"></figure> | |
{{/image}} | |
<p class="ranklet-title">{{title}}</p> | |
<!-- /.ranklet-link --></a> |
NewerOlder