<?php if(is_page(16)){ ?> <img src="<?php echo get_template_directory_uri(); ?>/images/mainImg_<?php the_ID() ;?>.jpg" /> <?php } ?>
ホームページ制作・SEO対策・WordPress
<?php if(is_page(16)){ ?> <img src="<?php echo get_template_directory_uri(); ?>/images/mainImg_<?php the_ID() ;?>.jpg" /> <?php } ?>