There are some important useful Scripts, Codes and hooks of WordPress that can be easily used for wordpress theme customization. Today we will be discuss on these useful WordPress’s scripts, Codes and hooks.
1) Code for Logo So that you can direct visit on homepage:
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
2) Code to call image from images directory using php:
<img border="none" class="icon" src="<?php bloginfo('template_directory'); ?>/images/image-name.png" />
3) Code to include other php files:
<?php include (TEMPLATEPATH .Continue Reading ... “Some useful scripts, codes and hooks of wordpress”