1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-13 17:12:07 +02:00

SEO (thanks @kreossino)

This commit is contained in:
Cameron 2017-10-09 08:43:16 -07:00
parent 18ea662b35
commit ee6d90eeab

View File

@ -301,7 +301,7 @@ class cpage_shortcodes extends e_shortcode
$class = (!empty($options['class'])) ? $options['class'] : 'cpage btn btn-primary btn-cpage';
$buttonTarget = (!empty($options['target'])) ? ' target="'.$options['target'].'" ' : $buttonTarget;
return '<a class="'.$class.' '.$inc.'" href="'.$buttonUrl.'" '.$buttonTarget.'>'.$text.'</a>';
return '<a class="'.$class.' '.$inc.'" href="'.$buttonUrl.'" '.$buttonTarget.' title="'.$text.'">'.$text.'</a>';
}