//Add Title Tag To Head
function customTitles() {
if (is_single() || is_page())
$metaTitle = get_the_title();
if (isset($metaTitle)) {
echo '<title>Download ' . $metaTitle . ' 1080p 720p HD Music Video MP4</title>'."\n";
}
else if (is_home() || is_category () || is_archive() || is_search())
echo '<title>VEVO HD - Download HD 1080p 720p MP4 Music Videos For Free</title>'."\n";
}
add_action('wp_head', 'customTitles');
//Add Description Tag To Head
function customDescription() {
if (is_single() || is_page())
$metaDesc = get_the_excerpt();
if (isset($metaDesc)) {
echo '<meta name="description" content="' . $metaDesc . ' Or Download the Latest High Definition 1080p And 720p Music Videos From VEVO HD For FREE And Watch Them Any Time You Want" />'."\n";
}
else if (is_home() || is_category () || is_archive() || is_search())
echo '<meta name="description" content="Do You Like Music Videos? Download the Latest High Definition 1080p And 720p Music Videos From VEVO HD For FREE And Watch Them Any Time You Want" />'."\n";
}
add_action('wp_head', 'customDescription');
//Add Keywords Tag To Head
function customKeywords() {
$posttags = get_the_tags();
foreach((array)$posttags as $tag) {
$tags4meta .= $tag->name . ', ';
}
if (is_home() || is_category () || is_archive() || is_search()) {
echo '<meta name="keywords" content=" VEVO HD, Download, Latest, High Definition, 1080p, 720p, Music Videos, FREE" />'."\n";
}
else if (is_single() || is_page()) {
echo '<meta name="keywords" content="' . $tags4meta . '" />'."\n";
}
}
add_action('wp_head', 'customKeywords');