I am new in making word press theme. I am trying to call a image from a images folder which is in the theme folder of word press but when I refresh the page then all the page is disappear and nothing is showing even not any php error.
i want to show my logo in the wordpress theme which is like in the image
I think it has to be get_template_directory_uri()
instead of get_template_directory_url()
(lowercase i instead of lowercase l).
You also can use bloginfo
. See: http://codex.wordpress.org/Function_Reference/bloginfo
In your case:
<img src="<?php bloginfo('template_url'); ?>/images/logo.jpg" alt="<?php bloginfo('name'); ?>">
And of course make sure you're image is in the right location.