background preloader

Wordpress_codex

Facebook Twitter

Function Reference/wp list pages. Function Reference/wp list pages Languages: 中文(简体) • English • 日本語 • (Add your language) Description Displays a list of WordPress Pages as links.

Function Reference/wp list pages

It is often used to customize the Sidebar or Header, but may be used in other Templates as well. Usage Default Usage <? By default, the usage shows: Is not restricted to any specific author Is not restricted to the child_of any Page No Parent/Child trees excluded No pages are excluded Date created is not displayed All Pages and sub-pages are displayed (no depth restriction) Results are echoed (displayed) No pages are explicitly included Sorted by Page Order then Page Title. Parameters Note: generically, arguments are inherited from get_pages. sort_column (string) Sorts the list of Pages in a number of different ways. Note: The sort_column parameter can be used to sort the list of Pages by the descriptor of any field in the wp_post table of the WordPress database.

Sort_order exclude exclude_tree include depth child_of show_date date_format title_li echo. Theme Development. Languages: বাংলা • English • Español • 日本語 • 한국어 • Português do Brasil • Русский • 中文(繁體) • (Add your language) This article is about developing WordPress Themes.

Theme Development

If you wish to learn more about how to install and use Themes, review Using Themes. This topic differs from Using Themes because it discusses the technical aspects of writing code to build your own Themes rather than how to activate Themes or where to obtain new Themes. Why WordPress Themes WordPress Themes are files that work together to create the design and functionality of a WordPress site. You may wish to develop WordPress Themes for your own use, for a client project or to submit to the WordPress Theme Directory. To create a unique look for your WordPress site. A WordPress Theme has many benefits, too. It separates the presentation styles and template files from the system files so the site will upgrade without drastic changes to the visual presentation of the site. Why should you build your own WordPress Theme? Style.css. Meta Tags in WordPress.

Meta Tags in WordPress Languages: English • Русский • (Add your language) As a search engine prowls your site, it gathers information from the title, headings, content, and Meta Tags such as description or keywords.

Meta Tags in WordPress

It compares the words within each of these sections and "ranks" the site dependent upon how well the information matches. We have more information on how to maximize your meta tag references below. It is important for website developers to understand that a default installation of WordPress does not contain the description and keywords meta tag data. What Are Meta Tags? The word meta means information about. This is an example of a meta tag for description: The most common meta tags examples include: Why Are Meta Tags Missing? In the default installation, WordPress does not include meta tags such as description and keywords. The second tag sets the character set for the page and the third tag sets the language. The author and contact information lists a specific person.