Skip to content

Instantly share code, notes, and snippets.

/**
* wordPress3.0beta URL Shortening snipet
*/
if ( function_exists('the_shortlink') ) the_shortlink( __('text'), __('title'), 'before', 'after');
add_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
/**
* wordPress media taxonomy
*
* add functions.php
*/
register_taxonomy(
'sky', #項目追加
'attachment:image', #コンテンツの種類
array(
@charset "utf-8";
/*
Theme Name: raindrops
Theme URI: http://www.tenman.info/wp3/raindrops/
Description: basic template
Author: tenman akio
Author URI: http://www.tenman.info/
Version: 0.1
Tags:black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)
<?php
get_header("xhtml1"); ?>
<!--<?php echo basename(__FILE__,'.php');?>[<?php echo basename(dirname(__FILE__));?>]-->
<div id="yui-main">
<div class="yui-b">
<!--main-->
<!-- Use Standard Nesting Grids and Special Nesting Grids to subdivid regions of your layout. -->
<!-- Special Nesting Grid C has two children, the first is 2/3, the second is 1/3 -->
<?php
test
<?php
/**
* The xhtml1.0 transitional header for our theme.
*
* Displays all of the <head> section and everything up till <div id="bd">
*
* @package WordPress
* @subpackage Raindrop
* @since Raindrop 0.1
*/
$color_ja= array("とき色"=> "#F9A1D0","つつじ色"=> "#CB4B94","桜色"=> "#FFDBED","ばら色"=> "#D34778","からくれない"=> "#E3557F","さんご色"=> "#FF87A0","紅梅(こうばい)色"=> "#E08899","桃色"=> "#E38698","紅色"=> "#BD1E48","紅赤"=> "#B92946","えんじ"=> "#AE3846","蘇芳(すおう)"=> "#974B52","茜(あかね)色"=> "#A0283A","赤"=> "#BF1E33","朱色"=> "#ED514E","紅樺(べにかば)色"=> "#A14641","紅緋(べにひ)"=> "#EE5145","鉛丹(えんたん)色"=> "#D3503C","紅海老茶"=> "#703B32","とび色"=> "#7D483E","小豆(あずき)色"=> "#946259","弁柄(べんがら)色"=> "#8A4031","海老茶"=> "#6D3D33","金赤"=> "#ED542A","赤茶"=> "#B15237","赤錆色"=> "#923A21","黄丹(おうに)"=> "#EF6D3E","赤橙"=> "#ED551B","柿色"=> "#E06030","肉桂(にっけい)色"=> "#B97761","樺(かば)色"=> "#BD4A1D","れんが色"=> "#974E33","錆色"=> "#664134","檜皮(ひわだ)色"=> "#8A604F","栗色"=> "#754C38","黄赤"=> "#E45E00","たいしゃ"=> "#BA6432","らくだ色"=> "#B67A52","黄茶"=> "#BB6421","肌色"=> "#F4BE9B","橙色"=> "#FD7E00","灰茶"=> "#866955","茶色"=> "#734E30","焦茶"=> "#594639","こうじ色"=> "#FFA75E","杏色"=> "#DDA273","蜜柑色"=> "#FA8000","褐色"=> "#763900","土色"=> "#A96E2D","小麦色"=> "#D9A46D","こはく色"=> "#C67400","金茶"=> "#C47600","卵色"=> "#FABE6F","山吹色"=>
<div class="yui-ge">
<div class="yui-gd first">
<div class="yui-u first color2" >
<p>First Column (25%)</p>
</div>
<div class="yui-u color3" >
<p>2nd Column (50%)</p>
エントリに、htmlタグとアトリビュートを併記することで、さらに複雑なネスティンググリッドを表示することができます。
</div>
</div>
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your blog. -->
<!-- It contains information about your blog's posts, comments, and categories. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your blog. -->
<!-- To import this information into a WordPress blog follow these steps. -->
<!-- 1. Log in to that blog as an administrator. -->
<!-- 2. Go to Tools: Import in the blog's admin panels (or Manage: Import in older versions of WordPress). -->
<!-- 3. Choose "WordPress" from the list. -->
<?php
ini_set('short_open_tag','off');
error_reporting(E_ALL ^ E_NOTICE);
echo '<?xml version="1.0" encoding="utf-8"?>';
?>