1. Home
  2. Wordpress
  3. Get blog info

Using get_bloginfo lets you access information about your site. Pass an argument to return name, description, wpurl, url, admin_email, charset, version, html_type, text_direction, language, stylesheet_url, stylesheet_directory, template_url, pingback_url and more.

#wordpress#php
print get_bloginfo('description');
copy
Full Wordpress cheatsheet