Wordpress PHP snippets for header
Posted by admin on 5 June, 2009
5 Comments
This item was filled under [ Wordpress ]
Here are some very usefull informations for those who use Wordpress as CMS
PHP Snippets for header – usefull functions
| <?php bloginfo(‘name’)?> | Title of the site |
| <?php wp_title(); ?> | Title of the specific post or page |
| <?php bloginfo(’stylesheet_url’); ?> | The style.css file’s location into the current layout |
| <?php bloginfo(‘pingback_url’); ?> | Pingback URL for the site |
| <?php bloginfo(‘template_url’); ?> | Locate the site’s theme files |
| <?php bloginfo(‘version’); ?> | Installed WordPress engine version |
| <?php bloginfo(‘atom_url’); ?> | Atom URL for the site |
| <?php bloginfo(‘rss2_url’); ?> | RSS2 URL for the site |
| <?php bloginfo(‘url’); ?> | Site’s URL |
| <?php bloginfo(‘name’); ?> | Site’s name |
| <?php bloginfo(‘html_type’); ?> | HTML version of the site |
| <?php bloginfo(‘charset’); ?> | Charset parameter of the site |
Popularity: 45 views