SEO BLOG

WordPress – Add meta description tag in homepage without plugins

Jan 26th, 2017Comments Off on WordPress – Add meta description tag in homepage without plugins

Here is how to add a custom meta description tag in homepage, in WordPress, without plugins.

<?php if ( (is_home()) || (is_front_page()) ) { ?>
<meta name=”description” content=”description here” />
<?php } ?>

Autor: