<?php bloginfo('template_directory'); ?>
This is a tag for theme directory of wordpress.
For e.g.
src="http://www.yoursitename.com/wp-content/themes/themename/css/main.css"
You can write above URL Path with wordpress tag like that.
src="<?php bloginfo('template_directory'); ?>/css/main.css"
This tag is represent the path of your Wordpress Theme Directory Wich is located at wp-content/themes/ folder.
If you are convert HTML to Wordpress, you can use this tag for initialization of css, js as well as Images in Header.php File.It is Convenient to use and not need to change when your theme Folder is rename because it contain whole Theme Folder path.
This tag is represent the path of your Wordpress Theme Directory Wich is located at wp-content/themes/ folder.
If you are convert HTML to Wordpress, you can use this tag for initialization of css, js as well as Images in Header.php File.It is Convenient to use and not need to change when your theme Folder is rename because it contain whole Theme Folder path.
Comments
Post a Comment