Title and Description in PHP
-
Sorry if stupid question but how do I add or check SEO title and SEO description fields in php files?? I can’t find this in docs.
I want this obvious thing and I don’t know how do I call it?
<meta name="description" content="<?php if (YES_IT_HAS_SEO_DESCRIPTION) { echo WRITE_SEO_DESCRIPTION(); } elseif ( is_single() ) { single_post_title('', true); } else { echo "good site"; } ?>" />
Thanks in advance
- The topic ‘Title and Description in PHP’ is closed to new replies.