#PHP
add_action('blocktype_append_header_layer','my_blocktype_append_header_layer');
function my_blocktype_append_header_layer(){
echo '<div class="custom-layer"><a href="#" class="skin-button">Link added to header</a></div>';
}
<?php | |
/** | |
* Template Name: test category | |
* | |
* WordPress Static Page Template | |
*/ | |
?> | |
<ul style="text-align:left"> | |
<?php |
<!DOCTYPE html> | |
<head> | |
<meta charset=utf-8> | |
<title>quickHtml5Template.html</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<link ref="stylesheet" href="http://html5resetcss.googlecode.com/files/html5-reset-1.4.css" media="all"> |
//themes functions.php | |
class MyWalker extends Walker_Category { | |
function start_el(&$output, $category, $depth, $args) { | |
extract($args); | |
$cat_name = esc_attr( $category->name ); | |
$link = '<a href="%1$s" rel="%2$s">%3$s</a>'; |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="ja" dir="ltr"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<meta http-equiv="content-script-type" content="text/javascript"> | |
<meta http-equiv="content-style-type" content="text/css"> | |
<title>背景にblurをかけてぼかす</title> |
<?php | |
/** | |
* Template Name: Grid Post | |
* | |
* | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { exit; } | |
do_action( 'raindrops_'. basename(__FILE__) ); | |
$raindrops_current_column = raindrops_show_one_column( ); | |
<!DOCTYPE html> | |
<html <?php language_attributes( ); ?>> | |
<head> | |
<meta http-equiv="content-type" content="<?php bloginfo( 'html_type' );?>; charset=<?php bloginfo( 'charset' ); ?>" /> | |
<title><?php wp_title( '|', true, 'right' ); ?></title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<?php | |
global $raindrops_link_unique_text; |
<?php | |
/** | |
* functions and constants for Raindrops theme | |
* | |
* | |
* @package Raindrops | |
* @since Raindrops 0.1 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; |
<?php | |
/** | |
* Template part file part | |
* | |
* @package Raindrops | |
* @since Raindrops 0.940 | |
* | |
*/ | |
$format = get_post_format( ); | |
<!DOCTYPE html> | |
<html <?php language_attributes( ); ?>> | |
<head> | |
<meta http-equiv="content-type" content="<?php bloginfo( 'html_type' );?>; charset=<?php bloginfo( 'charset' ); ?>" /> | |
<title><?php wp_title( '|', true, 'right' ); ?></title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<?php | |
global $raindrops_link_unique_text; |