This is a shortcode that will display a parameter of WordPress‘s bloginfo function. To see a list of parameters for the bloginfo function go here.

// Bloginfo shortcode function bloginfo_shortcode( $atts ) { extract(shortcode_atts(array( 'value' => '', ), $atts)); return get_bloginfo($value); } add_shortcode('bloginfo', 'bloginfo_shortcode');

Add this function to your theme’s functions.php file.

To use this function and display the output of a parameter, use the following:

[bloginfo value="name"]

Replace name with the name of the parameter.

Download (tar.gz)