- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
# encoding: utf-8 | |
# vim: ft=ruby expandtab shiftwidth=2 tabstop=2 | |
VAGRANTFILE_API_VERSION = "2" | |
# | |
# Configuration for the WordPress | |
# | |
WP_VERSION = '3.8-RC2' # latest or 3.4 or later or http(s):// URL to zipfile |
function zusaar_count($atts){ | |
extract(shortcode_atts(array( | |
'zid' => null | |
), $atts)); | |
// return $zid; | |
define("ZUSAAR_API_EVENT_URI", "http://www.zusaar.com/api/event/?event_id="); //イベント自体のデータを取得。開催日時の取得用 | |
define("ZUSAAR_API_USER_URI", "http://www.zusaar.com/api/event/user/?event_id="); //イベント出席者のデータを取得 | |
$today = time(); // 現在の日付を確認 |
<?php | |
function custom_search($search, $wp_query) { | |
global $wpdb; | |
//サーチページ以外だったら終了 | |
if (!$wp_query->is_search) | |
return $search; | |
if (!isset($wp_query->query_vars)) | |
return $search; |