Twenty Ten に WP hn Convert を適用したい

WordPress 3.0 のデフォルトテーマに、記事中では h3 と記述しているけど出力する場面によって h2 にしたりできるプラグイン WP hn Convert を適用したい!

<?php the_content(); ?>の部分を<?php the_hn_converted_content(-1); ?>と置き換え

【WordPressプラグイン】WP hn Convert: 見出しレベルを調整 « 7:3 blog

これでいけるそうなので、早速プラグインをアップロードして有効化、テーマファイルを編集しようとindex.php を開いてみると、

<div id="content" role="main">

<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( 'loop', 'index' );
?>
</div><!-- #content -->

中身がないっ!

続きを読む Twenty Ten に WP hn Convert を適用したい