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 | |
/* | |
Plugin Name: Private Debug Log | |
Description: Enable debug log to a private folder not accessible from the web | |
Version: 0.0.1 | |
Author: WebAware | |
Author URI: http://www.webaware.com.au/ | |
*/ | |
/* |
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
#!/bin/sh | |
echo '玉子とじラーメン 730円(大盛900円)' | |
echo '玉子とじ担々麺 850円(大盛1030円)' | |
echo 'もやし麺 850円(大盛1030円)' | |
echo 'ワンタン麺 850円(大盛1030円)' | |
echo '叉焼麺 850円(大盛1030円)' | |
echo '天津麺 850円(大盛1030円)' | |
echo '五目麺 850円(大盛1030円)' | |
echo '替玉 180円' |
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
<!--カスタム投稿のタグをチェックボックスで絞り込み--> | |
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>"> | |
<label for="s" class="assistive-text">検索</label> | |
<h2>タグまたはカスタムタクソノミー</h2> | |
<?php | |
$taxonomy_name = 'cpt_tag'; | |
$taxonomys = get_terms($taxonomy_name); | |
if(!is_wp_error($taxonomys) && count($taxonomys)): | |
foreach($taxonomys as $taxonomy): | |
$tax_posts = get_posts(array('post_type' => get_post_type('cpttype'), 'taxonomy' => $taxonomy_name, 'term' => $taxonomy->slug ) ); |