WordPressテーマで使える色々 - samidevjp/Tips GitHub Wiki
<?php include( get_theme_file_path( 'parts/parts.php' ) ); ?>
<?php echo get_template_directory_uri(); ?>/assets/js/scripts.js
<meta property="og:type" content="<?php
if (is_front_page()) {
echo 'website';
} else {
echo 'article';
}?>" />
<?php the_permalink(); ?>
<?php wp_head(); ?>
<?php wp_footer(); ?>