fbpx
How to Display WordPress "Site Name" and "Description" in Templates

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.

<?php echo get_bloginfo('name'); ?>

<?php echo get_bloginfo('description');?>

WordPress Hosting

Leave a Reply

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

WordPress Snippet Info

Tested with Wordpress v. 4.9.5
Last Reviewed: 16.04.2017

How to Display WordPress “Site Name” and “Description” in Templates
4.6 (92%) 35 vote[s]
Please report broken snippets.
Report Broken Snippet
WordPress Hosting

Recent Comments