get_template_directory_url()

【関数】get_template_directory_url()
現在有効になっているテーマディレクトリーのURIを取得する。子テーマを使用している場合は、親テーマのテーマディレクトリのURIを取得する。

<img src="<?php echo esc_url( get_template_directory_url() ); ?>/assets/img/###.jpg">
inserted by FC2 system