Header Functions

Function Description  
<?php site_url(); ?> root url for website  
<?php wp_title(); ?> title of specific post/page  
<?php bloginfo('name'); ?> title of site  
<?php bloginfo('description'); ?> site description  
<?php get_stylesheet_directory(); ?> stylesheet folder location  
<?php bloginfo('stylesheet_url'); ?> style.css file location  
<?php bloginfo('pingback_url'); ?> pingback url  
<?php bloginfo('template_url'); ?> template folder path  
<?php bloginfo('version'); ?> wordpress blog version  
<?php bloginfo('atom_url'); ?> atom url  
<?php bloginfo('rss2_url'); ?> rss2 url  
<?php bloginfo('url'); ?> root url for website  
<?php bloginfo('html_type'); ?> html version  
<?php bloginfo('charset'); ?> charset parameter

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *