Skip to main content

Home/ Wordpress/ Group items tagged bloginfo

Rss Feed Group items tagged

Vernon Fowler

Function Reference/bloginfo « WordPress Codex - 0 views

  • 'siteurl' - Deprecated since version 2.2. Echo home_url(), or use bloginfo('url'). 'home' - Deprecated since version 2.2. Echo home_url(), or use bloginfo('url').
  • Please note that directory URLs are missing trailing slashes.
  • home = http://www.example.com/home (DEPRECATED! use url option instead)
  • ...1 more annotation...
  • siteurl = http://www.example.com/home (DEPRECATED! use url option instead)
  •  
    Displays information about your site, mostly gathered from the information you supply in your User Profile and General Settings WordPress Administration Screens. It can be used anywhere within a template file. This always prints a result to the browser. If you need the values for use in PHP, use get_bloginfo().
Vernon Fowler

Function Reference/get bloginfo « WordPress Codex - 0 views

  • Consider using get_template_directory_uri() instead (for the parent template directory) or get_stylesheet_directory_uri() (for the child template directory).
    • Vernon Fowler
       
      Using TwentyEleven as parent theme will make use of this for HTML5.js in header.php
Vernon Fowler

Function Reference/wp title « WordPress Codex - 0 views

  • The wp_title() function should not be used by a theme in conjunction with other strings or functions (like concocting with bloginfo('name') ) to set the title because it will render plugins unable to rewrite page titles correctly. The best practice is to use the wp_title filter with a callback function. This method is now a requirement for themes.
1 - 4 of 4
Showing 20 items per page