Common functions of wordpress header templates

Source: Internet
Author: User
<? 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.