Created
July 21, 2017 15:48
-
-
Save richtabor/3c9a8dde3b37fb432222fa31d6fb6344 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File path for a pre WordPress 4.7 asset: | |
<img src="<?php echo get_template_directory_uri(); ?>/images/filename.png" /> | |
File path for a WordPress 4.7 + asset: | |
<img src="<?php echo get_theme_file_uri( ‘/images/filename.png’ ); ?>" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment