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
<ul class=""> | |
<li class=""> | |
アコーディオンの外 | |
<input id="navi-menu-input-submenu1" type="checkbox" class="display-none"> | |
<label id="navi-menu-open-submenu1" class="" for="navi-menu-input-submenu1"> | |
<span class=""><span class="fas fa-angle-down fa-2x" aria-hidden="true"></span>ボタン</span> | |
</label> | |
<ul id="navi-menu-submenu1" class=""> | |
<li class="">アコーディオンの中身</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
div.p7button[data-align='right'] div.p7button-right { | |
background: #fff; | |
border: 1px solid #bbb; | |
border-radius: 3px; | |
color: #aaa; | |
display: inline-block; | |
height: 20px; | |
text-align: center; | |
margin-left: 0; | |
min-width: auto; |
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
<div id="menu-button"> | |
<div id="menu-button-0"> | |
<a href=""> | |
<div class="button_1">ボタン</div> | |
</a> | |
<a href=""> | |
<div class="button_2">ボタン</div> | |
</a> | |
<a href=""> | |
<div class="button_3">ボタン</div> |
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
// hamberger.js | |
function toggleNav() { | |
var body = document.body; | |
var hamburger = document.getElementById('js-hamburger'); | |
var blackBg = document.getElementById('js-black-bg'); | |
hamburger.addEventListener('click', function() { | |
body.classList.toggle('nav-open'); | |
}); |
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
// ******************************************** | |
// mtssb-booking-from.php変更 | |
// ******************************************** | |
// 679行から 追加 Googleカレンダー自動追加 | |
// composerでインストールしたライブラリを読み込む | |
require_once __DIR__.'/../../../../../../vendor/autoload.php'; | |
// サービスアカウント作成時にダウンロードしたjsonファイル |
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 | |
// composerでインストールしたライブラリを読み込む | |
require_once(__DIR__ . '/../../../../vendor/autoload.php'); | |
// fptでアップロードした場合は、 | |
require_once(__DIR__ . '/../../../../google-api-php-client/vendor/autoload.php'); | |
use Google\Client; |
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
// Google検索サムネイル表示 カスタマイズする部分のみ | |
// tmp/header-ogp.php 58行目から | |
// 2行追加する | |
if (is_singular()){//単一記事ページの場合 | |
if ($ogp_image = get_singular_sns_share_image_url()) { | |
echo '<meta property="og:image" content="'.esc_url($ogp_image).'">';echo "\n"; | |
echo '<meta name=”thumbnail” content="'.esc_url($ogp_image).'">';echo "\n"; // 追加 | |
} | |
} else {//単一記事ページページ以外の場合(アーカイブページやホームなど) |
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 //アピールエリア tmp/appeal.php | |
/** | |
* Cocoon WordPress Theme | |
* @author: yhira | |
* @link: https://wp-cocoon.com/ | |
* @license: http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later | |
*/ | |
if ( !defined( 'ABSPATH' ) ) exit; ?> | |
<?php //アピールエリアを表示するか |
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 | |
$defaults = array( | |
'menu' => '', | |
'menu_class' => 'menu', | |
'menu_id' => '{メニューのスラッグ}-{連番}', | |
'container' => 'div', | |
'container_class' => 'menu-{メニューのスラッグ}-container', | |
'container_id' => '', | |
'fallback_cb' => 'wp_page_menu', | |
'before' => '', |
NewerOlder