ƥ

ƥꡧwordpress

ƥ:
錄ϥޥ󥬤γɱ繥ä

ǯDzǤޤ͡

⡢ޤǽǯव󡣴ְäƤ뤫⡩

ǡγɱϤҤȸǸʤСʶȸȤǤȻפޤ

ɱǤ줾Υ餬줾ιʥˤĤơ

ѤϡΤʤͤ餷顢ߤ뤳ȤΤǤʤ褦

ޤ˥ֿͤζˤʹʤΤ⤷ޤ

Ρ̼Ҳ񤫤餫Υ줿֥Ρޥ

Ϥɤ⡢Τ褦ʤȤƤ̤οãĤʤ褦

ΤΤ̴ǤäơΤȤˤĤƤϲꤷʱˤǤäƤ롣

ʴĤĤ⡢

ϰ̼ҲǤϤޤääƼƤ館ʤ

Ϥƻϰ̿ͤʤΤʤΤ

ʻפ򾯤ǤȤΤͤˤϡγɱ˽ФƤ

줾Υˡ֤ۤæ֤

αΡͯФӤ䶫ӤȤǤ褦

㤷ФΤȻϻפޤ

 

Ϥˤ⤦ä

 

ޤۤǻϳɱǸȥۡڡǤ͡

ΤȤˤĤơǤǮޤ

֤餷餽˲äƤĤäƴȻפޤ

ºݤˤΥ֥ǥۡڡεŪʤȤ񤤤Ƥ

Ӥޤ

䤬ǮȴTwitter Bootstrap ΤȤWordpress ΤȤ

ŪˤäƤäǮʤΤǤ

 

⤭ä֤ǤϡǽͤïդäƤȤ

Υƥӥɥޤ򤫤ääƤȤǮȻפޤ

 

Twitter bootstrap Ϥʤˤ衼ʤƶǤ

ʴǸˤǤ͡

 

ϥۡڡʤΤǡפ褦Ȥ

³ޤ

 

줬Ʊ褦ʥͤϤΤʤ顣

ƥ:
³ơAdvanced Custom FieldפǤʹǽWordpressȤκξҲ򤷤Ȼפޤ

ϹǽƲ̤κޤǤޤ
ϡAdvanced Custom FieldפǤΥȤɽʬκˡҲ𤷤Ȼפޤ

ޤʾҲڡ̤θڡ꿷ɲäޤ
ơ˾ʤɽƥץ졼ȥեɤ߹ޤȤˡȤޤ

ޤϥơޥե˾ʾҲɽpage-products.phpפȤƥץ졼ȥեޤ
ƤΥե򲼵Τ褦˵Ҥޤ
[php]
<?php
/*
Template Name: products
*/
?>
<?php get_header(); ?>

<article id="content" role="main" <?php post_class(); ?>>

<header>
<?php if ( get_the_title() ): ?>
<h1><?php the_title(); ?></h1>
<?php endif; ?>
</header>

<div class="content">
<?php $my_posts = get_posts( 'post_type=products' ); ?>
<?php if ( $my_posts ): ?>
<?php foreach ( $my_posts as $post ): setup_postdata( $post ); ?>
<section>
<div class="product">
<div class="alignleftt">
<?php the_field ('ʲ' ); ?>
</div>
<div class="alignright">
<h1><?php the_title(); ?></h1>
<p><?php the_field('ʸ'); ?></p>
<p class="price"><?php the_field(''); ?></p>
<dl>
<dt></td>
<dd><?php the_field(''); ?>cm</dd>
<dt>⤵</td>
<dd><?php the_field('⤵'); ?>cm</dd>
<dt>Ԥ</td>
<dd><?php the_field('Ԥ'); ?>cm</dd>
</dl>
</div>
</section>
<?php endforeach; ?>
<?php endif; ?>
<?php wp_reset_postdata();?>
</div>

</article>
<!-- #content -->


<?php get_sidebar(); ?>
<?php get_footer(); ?>
[/php]
Υץβ򤷤ޤ

[php]
<?php $my_posts = get_posts( 'post_type=products' ); ?>
<?php if ( $my_posts ): ?>
[/php]
ʬǥƥסʾʡˤƤƤӽФƤΤȽꤷ
ɽȤդ˽񤤤Ƥޤ

[php]
<?php foreach ( $my_posts as $post ): setup_postdata( $post ); ?>
/*
ά
*/
<?php endforeach; ?>
[/php]
Ƥʬ֤ͤͤФ򤷡

[php]
<?php the_field ('ʲ' );
[/php]
ʬǥե̾ǼºݤͤФɽ褦˽񤤤Ƥޤ
¾ʬƱ褦˥ե̾ꤷͤɽޤ

ƥƥץ졼ȥե뤬Ǥ顢С˥åץɤ
ۤɺʤθڡԽ̤ؤޤ

Խ̤αΥܥåΥڡ°ꡢۤɺäpage-products.phpפΥƥץ졼̾
productsפ򤷤ƤХȾɽǤ褦ˤʤޤ

ȤϥڡΥǥCSSԽдλǤ

Advanced Custom FieldǺʹǽդWordpress-

ƥ:
ϻ䤬WordpressǹǽդΥȤȤˤĤȤäƤWordpressΥץ饰󡢡Advanced Custom FieldפҲ𤷤ȻפޤäĹʤΤԤȸԤʬȻפޤ

󥹥ȡϴ̤Ρ֥ץ饰פιܤAdvanced Custom FieldפȸнФƤΤǡɲäǤޤΡAdvanced Custom Fieldפϥץ饰ʤΤǤȼǥɥȤƵǽɲäǤΤǡAdvanced Custom FieldפǸȤΥɥ˽ФƤơʤʤΤǤƤޤʾСˡ

ץ饰Υ󥹥ȡ - Saniman s weblog - WordPress

ʤΤǡθȤɤƥץ饰ե˥åץɤɲäƤ⤤Ǥ礦

äեɤĥǤץ饰ˤ¾ˤΡCustom Field TemplateפȤΤ⤢ޤϤΤۤȤ䤹ΤǤäȤäƤޤ

Ǥϼºݤ˻Ȥ⤷Ȼפޤ

ϲˡȶ򰷤ҤΥȤȤƾʾҲڡ˹ǽĤ
򤷤Ȼפޤ

ʾҲ
ʴΥڡΥ᡼Ǥ

ޤϡξϹǽȤˤϤޤ֥ƥספޤ¿ʬۤȤɤοͤʡ˥ƥפΤĤƤʤɤ黲ͤˤƤФȻפޤΡ֥ƥספñ˺ƴǤCustom Post Type UIפȤץ饰⤢ޤϤޤꤤäѤץ饰ΤʤΤǡFunctions.phpפľܽ񤤤ƤޤɤäȤϤοͤιߤʤȻפޤñ˺ʤץ饰Ȥäۤʡ

[php]
/* ƥפɲ */
add_action( 'init', 'create_post_type' );
function create_post_type() {
register_post_type( 'products', /* post-type */
array(
'labels' => array(
'name' => __( '' ),
'singular_name' => __( '' )
),
'public' => true,
'menu_position' =>5,
)
);
}

[/php]

ʴFunctions.phpɲäޤ

ơ֥ƥספǿƥפäʺϡ־ʡפȤ̾Υƥפޤ
Advanced Custom Fieldפδ˥塼˿ʤߤޤ̤ˡ֥եɡפäƹܤȻפޤ

եɥ롼 - Saniman s weblog - WordPress

ơֿɲáפ꿷եɥ롼פɲäޤ

Ϥܤɽޤ

ξϾʤ̾ϤΤޤޡ֥ƥספƲ̤Ρ
ȥϤƤ餤ޤ
ƤԽ3 - Saniman s weblog - WordPress
ʤΤǡեɤȤƾ̾ɲäɬפϤޤ

ΤۤΡֲסʸסʡס־ʤΥפ
եɤιܤȤɲäƤޤ

եɥ롼פ򿷵ɲ - Saniman s weblog - WordPress

Τ褦˾夫ϤƤޤɬܤιܤȤ񤭤ޤ
ȤꤢʬϤƥڡɽ褦ˤʤޤ
ɬܰʳʬϺʤȻפޤ


ơϤƤäΤβˤʤޤ

եɥ롼פԽ - Saniman s weblog - WordPress

ǡ˥ƥפƲ̤ǻȤ褦ˤ뤿ˡ
ˤְ֡פȤܥå־ʡפΥƥפ򤷤Ƥޤ

եɥ롼פԽ2 - Saniman s weblog - WordPress
ۤɥƥפFunctions.phpɲäݤ

[php firstline="4"]register_post_type( 'products', /* post-type */[/php]

Ρproductsפʬ򤹤ܤˤʤޤ

ơ򤷤餽Τޤ¸Ƥ⤤ΤǤ
ξȤʤƲ̤Υܥå϶ϺΤʤΤۤϤ¤ʤʤȡ
Ʋ̤Τʤܤɽˤ򤷤ޤֲΥܥå֥ץפǤޤ

եɥ롼פԽ3 - Saniman s weblog - WordPress

ơ٤Ϥ鱦ˤֹץܥ򲡤¸ޤ

եɥ롼פԽ4 - Saniman s weblog - WordPress

ݤääȤʡ

ơۤɥƥפȤɲä̤Ρ־ʡץ˥塼˿ʤߤޤ
ơֿɲáפƲ̤ɽȲΤ褦ۤɡAdvanced Custom Fieldפɲä
ϹܤɽƤޤ


Ƥɲ - Saniman s weblog - WordPress

ǾʤƲ̤ǤޤȤϡ̤ΤȤϤƤɲäƤǤ

ƤԽ - Saniman s weblog - WordPress

ɲä餳ʴˤʤȻפޤ

Ʋ̤ΤǡϸԤǼºݤϤƤ򥵥ȤɽҲ𤷤Ȼפޤ


ԤϤ

ƥ:
Ȥ륱ˤޤȻפΤǤнȤ

[php]
/**
* Yotubeưɲäwp_oembed_getĥ
*/
function namespace_oembed_youtube_custom( $html, $url, $args ) {

// YotubeưȽ
if ( !strstr($url, 'youtube.com') )
return $html;

// URLʸʬ
$url_string = parse_url($url, PHP_URL_QUERY);
parse_str($url_string, $id);

// ǥեȤ򥻥å
$defaults = array(
'width' = 480,
'height' = 385,
'showinfo' = true,
'rel' = true
);

// ǥեͤȥޡϢ
$args = wp_parse_args( $args, $defaults );

// ѿѴ
extract( $args, EXTR_SKIP );

// ȼΥѥ顼᡼ϻɲ
if ( isset($id['v']) ) {
return '&lt;iframe width=&quot;' . intval($width) . '&quot; height=&quot;' . intval($height) . '&quot; src=&quot;http://www.youtube.com/embed/' . $id['v'] . '?rel=' . intval($rel) . '&amp;showinfo=' . intval($showinfo) . '&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;';
}

return $html;
}
add_filter('oembed_result', 'namespace_oembed_youtube_custom', 10, 3);
[/php]

ǡλȤ

[php]
echo wp_oembed_get( 'http://www.youtube.com/watch?v=mx4xeO3Xq7g', array( 'width' = 203, 'height' = 164, 'showinfo' = false, 'rel' = false ) );
[/php]

ߤʴǤ

[php]
'rel' = false
[/php]
äƤư˴Ϣư褬ɽˤʤޤ

ʤߤ
[php]
'showinfo' = false
[/php]
ʬưΥȥʬɽˤǤޤ

ޤϹǽʤɤǤYotubeưURLŽäƤäơ
ȤiFrameɽ˻ȤȻפޤ

[php]
'width' =&gt; 203, 'height' =&gt; 164
[/php]
iFrameι⤵ȲϺǽ餫鼫ͳѤޤ

ʾ塢нǤ

query_posts侩äѤǺࡢWordpressΥڡˤĤơ

ƥ:
ޤˤ䤳ȻפWordpressΥڡˤĤ
ʬʤˤޤȤᡣ

ޤϥڡ뤦ˤʤ복ǰ֥꡼פˤĤ
ޤǤϡquery_postsפȤؿ褯ȤƤΤǤ
ΤȤȤݤˤդɬפȤ褯Ƥޤ
ƺǶWordpressˤΡquery_postsפ侩δؿȻꤵ줿褦Ǥ
ƺϡpre_get_postפȤؿȤäƤޤ礦ȤʤäƤ褦Ǥ

伫Ȥؤľ褯狼ޤǤ

ä˼ʬξWordpressǴȥȤʤɤ뤳ȤΤۤ¿Τ
ȥåץڡˤϲҤξʤɤФơ֥ϸڡˤ⤦褦ʤȤ¿Ǥ

ΤȤˡθڡˤ⤦֥ΰڡꤹˤ
ޤޤǤۤȤɡquery_postsפȤäƤޤ

[php]
query_posts( 'posts_per_page=5&paged='.$paged );//'paged='.$pagedϥڡ
while ( have_posts() ) :
the_post();
the_title();
endwhile;
//Υڡ֤
wp_reset_query();
[/php]
ʤ󤸤ä͡
[caption width="386" align="alignnone"] ڡäƤʤߤˤʤĤǤ[/caption]
ƻϤpre_get_postפ֤ʤФʤΤȴ㤤Ƥ褦Ǥ

ϲWordpresեβ鴪㤤äȤ狼äǤ͡
query_postsϥᥤ󥯥꡼Ѥ뤿Τ
query_postsϥᥤ󥯥꡼ѤˤϸΨΤǡpre_get_postsڤؤƤޤ礦
֥꡼ȯԤˤget_postsޤWP_QueryΥ󥹥󥹤򿷵˺ޤ礦


ڡʤɤ˥֥ʤ󤫤֤ϡquery_postsפʤơget_postsפWP_QueryפǺޤ礦äƤȤǤ͡

ʤΤǼʬϺϿWordpressȤǸڡʤ󤫤ǥڡ꤬ɬפʤΤ˴ؤƤϡWP_QueryפȤ褦ˤƤޤʤߤˡget_postsפȥڡ󥰤Ǥޤؤ󡣡get_postsפǤǤˡΤäƤͤ鶵Ƥ

[php]

$my_query = new WP_Query( 'posts_per_page=5&paged='.$paged );//'paged='.$pagedϥڡ
while ( $my_query->have_posts() ) :
$my_query->the_post(); // global $post 񤭤

the_title();

endwhile;
//Υڡ֤
wp_reset_postdata();
[/php]

ʤߤWordpressΥ꡼ˤĤƤϤΥȤȤƤ⻲ͤˤʤޤʤȤ٤Ƥ˽񤫤Ƥ褦ʤ󤸡
WordPress 롼ס꡼Υä褦

⤷Τ褦˴㤤ƤͤλͤˤʤйǤޤ

WordpressǴñʥۡڡ

ƥ:

Wordpressǥۡڡˤϡ


WordpressǥۡڡǤޤǤμʬʤ˲⤷ƤߤȻפޤ
WordpressäƲäƤϤ򤴰
ޤϲΤ褦ʥǥPhotoshopʥեåեȡˤʤɤǺޤ ϲͶΥҡְפΩƤƥǥäƤߤޤ [caption width="1024" align="alignnone"] ˤդǤʤ[/caption] ȤƤϤޤΥǥ󤫤HTMLäƤޤ ޤ˽񤯤ȤʴǤ
[html toolbar="true"]


<html lang="ja">
<head>
<meta charset="utf-8">
<title>åۤƵߤ褦̵ҤǤSEOʤ󤫤館Ǥ</title>
<link rel="stylesheet" href="style.css" >
</head>
<body>
<header>
<h1>ۥ</h1>
<nav>
<ul>
<li><a href="">ۡ</a></li>
<li><a href="">ʤˡ</a></li>
<li><a href="">Ǥ뤳</a></li>
<li><a href="">Ǥʤ</a></li>
<li><a href=""></a></li>
</ul>
</nav>
</header>
<div id="main">
<section>
<img alt="οʷϵ" src="images/top/main.gif" />
<h1>ϥۤƵߤ褦̵ҤǤSEOʤ󤫤館Ǥ</h1>
</section>
<div id="able-to">
<section>
<h1>Ǥ뤳</h1>
<ul>
<li>ɤ֤괪</li>
<li>դ</li>
<li>᡼ʲǤ󤳤ġ</li>
</ul>
</section>
</div>
<div id="can-not">
<section>
<h1>Ǥʤ</h1>
<ul>
<li>SEOк</li>
<li>Ūʤ</li>
</ul>
</section>
</div>
</div><!-- #main -->
</body>
</html>

[/html]

WordpressǺHTMLǽ񤯤ȤȤѤϤޤ ˤäƥ륷Ȥ񤤤Ƥޤ

[css]
/* Header
=================================================== */
header {
margin: 10px 0;
}
/* header nav
=================================================== */
header nav li {
float: left;
}
/* #main
=================================================== */
#main {
width: 980px;
margin:0 auto;
position: relative;
}

[/css]

ʴǤȽ񤤤Ƥޤ

ǡHTMLCSS夬ä WordpressȤ߹Ǥޤ

WordpressǤϥǥʬϡ֥ơޡפȤǽ󶡤Ƥޤ
ΥȤƤϤΤޤޤǡ֥ơޡפڤؤȥǥѤȤʵǽǤ
ȤƤѤ˸ܤѤȤŪʤȤǽˤʤäƤޤޤ

ʤߤWordpressΥƥΥե¤ϲΤ褦ˤʤäƤޤ

ǡ.phpפȳĥҤΤĤե뤬ФƤޤWordpressPHPȤץǺƤ륷ƥȤȤ狼ޤ ʤߤFacebookʤ󤫤⤳ΡPHPפȤǺƤ뤽Ǥ

ΡPHPפΤǹǽʤɥȤ򱿱Ĥ뤦ʵǽȤ뤳ȤǤޤPHPǺ뤫餳ۤɤä褦ƤѤ˥ǥ֥ơޡפȤǽڤؤȤäȤǽˤʤޤ
[caption width="800" align="alignnone"] 줬Wordpressι[/caption]
줬̤ʤHTMLCSSHTMLԽեȤʤ󤫤ȤäԽ
FTPǥåפƤߤʴΤˤʤޤHTMLԽեȤϡDreamweaverפ֥ۡڡӥפʤɤǤ

ϤǤΤǤǽХ󥿡ͥåȤĤʤĶ
HTML狼ͤǤ狼ʤͤǤ⡢ǽȤäƽ񤭴뤳ȤǤޤʺǶǤϥޥեΥץǤ⹹Ǥޤ
ǥʬ򿨤ɬפʤΤǤ鹹κݤ˥ǥʬäԽƤޤȤ⤢ޤ

[caption width="1583" align="alignnone"] ʤ󤸤Ǵ̤ơޤ٤ޤ¸ΥơޤۤƤơޤ⤢ꡢǥʬΤߤͳѤޤ[/caption]

ƥǥѤϤʬԽơ֥ơޡץե˥åץɤФΤǤ
Wordpressǥۡڡ뤦ǤޤФ٤ϡ֥ơޡפǤ֥ơޡפǤвǤǤ롪

ǤϡʤȤǥơޤδñʺ򸫤Ƥޤ礦

WordpressΥ󥹥ȡơޤ˴ؤƤGoogleʹлۤɽФƤΤǤ򻲹ͤˡ
Ȥ͡

WordpressΥơޤ


ޤϥơޥեޤǤϡaho-worksפȤ̾ˤޤ ˡindex.phpפȡstyle.cssץեޤ index.phpϲ񤫤ʤƤ⤳λǤפǤstyle.cssˤϥȤ򵭽Ҥɬפޤ եΰ־˲Τ褦˽񤭤ޤ

[css]

/*
Theme Name: aho-works
Theme URI:
Description:
Version: 1.0
Author: saniman
Author URI:
*/

[/css]

ΥȤˤäƥơޥեȤǧ̾Ԥ̤ɽ褦ˤʤޤ ǤϤκäեեWordpress˥󥹥ȡ뤷Ƥ륵С˥åץɤƤߤޤFTPġʤɤthemesե˥եȥåפޤ
ƴ̤˥󤷤ơֳѡפΥ˥塼˿ʤȺä֥ơޡפǧ褦ˤʤޤ

äȥץӥ塼̤졼ˤʤäƤޤ͡Ʊեˡscreenshot.pngפȤȤΥǥW600xH450βեƤɽ褦ˤʤޤ

ǤϤͭ󥯤򲡤ƥơޤͭޤǤΥơޤȤ褦ˤʤäΤǤ餷Ǥ͡ǤϥȤ򸫤Ƥߤޤ礦

ǤλǤindex.php˲񤤤ƤʤΤǿʤǤ

Ǥۤɽ񤤤HTMLȤindex.php˿񤤤Ƥޤ礦

[php]
<html lang="ja">
<head>
<meta charset="utf-8">
<title><?php bloginfo('name'); ?><?php bloginfo('description'); ?></title>
<link rel="stylesheet" href="style.css" >
</head>
<body>
<header>
<h1><?php bloginfo('name'); ?></h1>
</header>

</body>
</html>
[/php]
PHPˤHTMLΥ򤽤ޤ޽񤯤ȤǤޤPHPưŪHTMLϤפʤƤäꤷޤ
ޤPHPȤץȤäơ椦ѥϤȤHTMLǤʲƾˤäƼͳ˽񤭴ƤäƴǤ礦ऺä;

ƤWordpressäƥץ졼ȥȤΤǤƤޤ

[php highlight="1"]
<h1><?php bloginfo('name'); ?></h1>
[/php]
ʬǤ͡ƥץ졼ȥȤΤWordpressˤѰդƤơ
Υƥץ졼ȥȤƥȤäƤޤ
ФΤѤǤȤäƤ˼ȳФƤΤȻפޤ

ξ֤ǥåפƤߤޤ礦


ȤΥȥ뤬ɽ褦ˤʤޤ


[php]
<?php ?>
[/php]

ʬϤPHPΥɤǤȤΤ򥳥ԥ塼ˤ狼餻뤿Ǥ Ʊ褦³Ƚ񤤤Ƥޤ

[php highlight="5" wraplines="true"]
<html lang="ja">
<head>
<meta charset="utf-8">
<title><?php bloginfo('name'); ?><?php bloginfo('description'); ?></title>
<link href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" rel="stylesheet" >
</head>
<body>
<header>
<h1><?php bloginfo('name'); ?></h1>
</header>

</body>
</html>
[/php]

 

[php highlight="1"]<link href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" rel="stylesheet" >[/php]

Ϥʬǡ֥ơޡפΥ륷ȤΤեΥѥɽƤޤ

[php]<?php echo ----[/php]

echoפPHPǷ̤ϤȤ̣Ǥ

Ƥθ˥å³style.cssȽ񤤤ƥ륷ȤΥѥꤷƤޤ style.cssؤΥ󥯤򵭽Ҥ뤳ȤǤޤ
ʤHTMLǽ񤯤䤳Ƥޤ⤷ޤ󤬡 ºݤˤΥɤ񤯤Τϥ̤ư٤ǤȤϤʬʲơ Ȥ󤻤ФǤäʤȤPHPȤȤǤ뤳Ȥˤʤޤ Ƚ񤤤Ƥޤ

[php highlight="" wraplines="true"]
<html lang="ja">
<head>
<meta charset="utf-8">
<title><?php bloginfo('name'); ?><?php bloginfo('description'); ?></title>
<link href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" rel="stylesheet" >
</head>
<body>
<header>
<h1><?php bloginfo('name'); ?></h1>
<nav>
<?php wp_list_pages(); ?>
</nav>
</header>
<div id="main">
<section>
<img alt="οʷϵ" src="images/top/main.gif" />
<h1>ϥۤƵߤ褦̵ҤǤSEOʤ󤫤館Ǥ</h1>
</section>
<div id="able-to">
<section>
<h1>Ǥ뤳</h1>
<ul>
<li>ɤ֤괪</li>
<li>դ</li>
<li>᡼ʲǤ󤳤ġ</li>
</ul>
</section>
</div>
<div id="can-not">
<section>
<h1>Ǥʤ</h1>
<ul>
<li>SEOк</li>
<li>Ūʤ</li>
</ul>
</section>
</div>
</div><!-- #main -->
</body>
</html>
[/php]

ä񤷤ʤäǤ礦
Ǥϡ饵ȤǤʲƤޤ
[html highlight="1,2-12,13" wraplines="true"]
<html lang="ja">
<head>
<meta charset="utf-8">
<title><?php bloginfo('name'); ?><?php bloginfo('description'); ?></title>
<link href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" rel="stylesheet" >
</head>
<body>
<header>
<h1><?php bloginfo('name'); ?></h1>
<nav>
<?php wp_list_pages(); ?>
</nav>
</header>
[/html]

ޤǤʬڤäheader.phpȤ¸ޤ Ƥindex.php

[php]
<?php get_header(); ?>
[/php]

Ȥɤ߹ߤޤ ȡäƽ񤯤¾ΥڡǤ⤳ΥإåʬȤ󤷤Ǥ櫓ǤǤ͡ ưǤȤϼư롣줬PHPȤåȤǤ
ʴǴindex.phpʥȥåץڡˤΥɤϲΤ褦ˤʤޤ

[php highlight="1"]
<?php get_header(); ?>
<div id="main">
<section>
<img alt="οʷϵ" src="images/top/main.gif" />
<h1>ϥۤƵߤ褦̵ҤǤSEOʤ󤫤館Ǥ</h1>
</section>
<div id="able-to">
<section>
<h1>Ǥ뤳</h1>
<ul>
<li>ɤ֤괪</li>
<li>դ</li>
<li>᡼ʲǤ󤳤ġ</li>
</ul>
</section>
</div>
<div id="can-not">
<section>
<h1>Ǥʤ</h1>
<ul>
<li>SEOк</li>
<li>Ūʤ</li>
</ul>
</section>
</div>
</div><!-- #main -->
</body>
</html>
[/php]

ʤǽ񤤤HTMLûʤäƤ뵤ޤ󤫡
äȤȤۡڡʤ餳ˡ֥եåǡס֥ɥСǡפʤ󤫤ǤƤޤ͡ؤʲƻȤޤ魯ȤǤޤ
ɤˤ
[php]
<?php get_footer(); ?>
<?php get_sidebar(); ?>
[/php]
ȤǤ͡
PHPˤäƼưǤȤϼưʲꤷǡ񤯥ɤ̤⾯ʤ뤳ȤǤΤǤǤ͡

ΡְפΤ褦ʥۡڡʤ顢WordpressǤ⤱äñˤǤ㤤ޤ
ʤषWordpressǤĤɬפΤ

ޤºݤ˥ȤϤäʣƤ丫ʤ󤫤ڡˤäѤꤹȻפޤΤǡΤȤˤWordpressʵǽƤäƤȤǤ͡

ǡĿŪˤWordpressǥȤ褦ˤʤˤϤޤHTMLCSS񤱤
ʤȤƤޤ󤸤ʤʤȻפޤ
PHPμϺäƤ˳ФƤʤȻפޤʼʬǤ

WordpressǥۡڡΤϤʤ񤷤ʤǤ
ȤȤȹ碌ơäWordpressǥۡڡäƤߤʤ뤭äߤʤΤФȻפ񤤤ƤߤޤߤʤWordpressǥۡڡLet's󥸡

WordpressECȹۥץ饰WelcartƤߤ롣

ƥ:
錄EC-CUBE򥤥󥹥ȡ뤷ECȤιƤߤΤǤ
줬ʤʤޤˤƤǡ
ᤲWordpressΥץ饰ECȹۤǤ뤤ĤʤʡȤȯۤͯƤޤơ
Ĵ٤Ƥߤ顢狼ǤƤΤǤ
ޤǽˤҤääΤWP-ecommerce
ܸ첽ʤǤʤ褦ǰhttp://blockworks.jp/archives/530Τڡܸ첽եۤƤ褦Ǥ

ơɤ夤ΤWelcartǤޤ
ܸ첽ʤǤꡢʤȥ쥸åȷѤޤбƤ뤸㤢ޤ󤫡
ƤߤʤȤϤޤ͡Ƴˡϲ˾ܤܤƤޤ
http://www.welcart.com/wc-flow/

ƼºݤWordpressץ饰󸡺ɲá
Ƥߤޤȡ̤κΥɥСWellcartShopWelcartManagementСǤƤޤ


äȻƤߤƾ狼Ť餫äʬʲϿʬǤ
Ĵ٤Ͽˡȥ롼뤬񤤤ƤäΤǤݥݥݥľŪ˿äƸäݤˤޤǤʤäΤǵˤʤޤ
ȡ᡼ʬǤ͡Ϥᤫ귿ȤȻפޤ
ʲܤ⤢ֿǧ᡼뤬ä
ϥץ饰ȯʤɤǤǤΤʡ

ʤˤϤȤ⤢쿧򤷤ƻƤߤޤơʤECȤιۤǤͽǤ
Wordpress꤬ͤȤޤ
줫WelcartƤäƤޤΥ֥ǤҲ𤷤ƤǤ

ƥ:
ޡBuddypressSNSȤǤޤ

BuddypressȤΤWordpressΥץ饰ǤƳ뤳Ȥǡ
WordpressǤSNSȤ㤦ȤŪʤΤǤޤ
󥹥ȡλʤɲȤʤɤ˾ܤΤäƤޤ
http://www.webcreatorbox.com/tech/wordpress-plugin-buddypress/

SNSȤȤäƤ⡢MixiΤ褦ʴɤSNSǤϤʤ
ɤ餫ȤȡTwitter饤SNSǤޤ͡
ޤBuddypressǹۤɬȤʤޤ͡
ץ饰ʤɤǴɤˤǤ褦ǤϤƤʤ褦Ǥ

֥񤤤ơˤΥȤSNSƤޤʤWordpress
BuddypressȯСϤʤʤʤȤ򤤤ޤʤ

ʤʤǤ޹ʤΤǤ
ʤ桹Ȥ˻ž夬äƤ󤸤ʤȡꤴ򴶤Ƥޤ

줬ǤΤWordpressͤΤǤ꤬͡Ǥ
ΥȤϥå׼褳Υ֥ǤҲ𤤤ޤΤǡɤڤߤˤƤƤ

ƥ:
伫ȤWordpress˽в񤤡Wordpress˹줳ǤҤȤǤ

Ƥ뤪Ҥ󤫤Υˡ֥ǥʡȤƤμդפ
äǼWordpress˰󤻤Ƥä褦ʴǤ

䤬֤Ϥ᤿飵ǯ餤CMSȤMTߤʴǡ
ޤޤHTMLCSSμ˳äʬȤCMSۤ뤳ȼΥϡɥ뤬⤯ơ
ȤꤢMTܤäƤϤߤΤΡؤǤêαˤޤäޤޤˤʤäƤޤäۤɤǤ

ơ줫ŻHTMLCSSμ⤷äȤˤĤƤ椭
ºݤPHPǤΰƷƤPHPؤμäȿȤˤĤƤWordpressϼʬΥƥʤˤ
ääƤȻפޤ¾ModxȤCMSƤߤΤǤʤ󤫤äꤳꤲƤޤޤ

Wordpressܤ㤤ޤܤʤƤե両󥸥ͳHowto֥ʤɤǼ˽뤳ȤǤޤ

ơߤҤ˿ǥȤۤ硢ϤۤȤɤξWordpress򥪥ᤷƤޤ
Wordpressʤ󤸤㤽㡩äƤʤҤ󤬤ۤȤɤǤʾС
ʬ򤷤䤹ȤȤ⤢ޤϤñưƤ륵ȤȤ꤬ǤȻפޤ

澮ȤʤɤϤϤͽ˸¤꤬뤳Ȥ⤢ޤΤǡạ̈ǤⳫȯ򸺤餹ȤǤ
ǽŪʥȤۤǤWordpress򥪥᤹櫓Ǥ

ƼʬȤޤޤWordpressϿʲȤ⤤ޤʬΥ٥ޤޤʤΤǡ
줫Wordpressޥˤʤ褦ǤߤŤͤФȻפޤ

ΥڡΥȥåץ

Ф