theme dir wordpress code example
Example 1: get templete uri
<img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" width="" height="" alt="" />
Example 2: get theme folder path in wordpress
echo get_stylesheet_directory_uri();
<img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" width="" height="" alt="" />
echo get_stylesheet_directory_uri();