テーマディレクトリのパスを出力
<?php echo get_template_directory_uri(); ?>
サイドバー(パーツ化したもの)を出力
<?php get_sidebar( $name ); ?> 使用例/<?php get_sidebar('right'); ?>
ページタイトルを取得
投稿ページのタイトルを取得する
<?php the_title(); ?>
<?php echo get_template_directory_uri(); ?>
<?php get_sidebar( $name ); ?> 使用例/<?php get_sidebar('right'); ?>
投稿ページのタイトルを取得する
<?php the_title(); ?>