<? Php bloginfo ('pingback _ url');?> // Pingback address of the WordPress blog <? Php bloginfo ('Template _ url');?> // Relative address of the WordPress topic file <? Php bloginfo ('version');?> // The Wordpress version of the blog <? Php bloginfo ('name');?> // WordPress blog name <? Php bloginfo ('name');?> // Website title <? Php wp_title ();?> // Log or page title <? Php bloginfo ('stylesheet _ url');?> // The relative address of style.css in the wordpresstheme sample table file <? Php bloginfo ('Atom _ url');?> // The Atom address of the WordPress blog <? Php bloginfo ('rss2 _ url');?> // The RSS2 address of the WordPress blog <? Php bloginfo ('URL');?> // The absolute address of the WordPress blog <? Php bloginfo ('HTML _ type');?> // The HTML version of the website is_search () // determine whether it is a search page is_category () // determine whether it is a classification page is_single () // determine whether it is an article content page is_home () // determine whether it is the home page wp_head () // The Black tool displayed in the header after login navigation bootstrap_nav () // outputs the navigation bloginfo ('Template _ directory') in all menus ') // output the current topic directory path get_option ('cnsecer _ keyword') // obtain the information configured by the user in the background, this method will be described in detail later (background-appearance-current topic-content in settings without being killed)
Common functions of wordpress header templates