How to display WordPress “site name” and “description” in templates

To display the WordPress site name and description – you can add the following to your template.

Related links
https://developer.wordpress.org/reference/functions/bloginfo/

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Snippet Info

Tested with Wordpress v. 4.7.3
Last Reviewed: 16.04.2017

How to display WordPress “site name” and “description” in templates
4.6 (91.52%) 33 votes
Please report broken snippets.
Report Broken Snippet
WP Engine