mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
SEO (thanks @kreossino)
This commit is contained in:
@@ -301,7 +301,7 @@ class cpage_shortcodes extends e_shortcode
|
|||||||
$class = (!empty($options['class'])) ? $options['class'] : 'cpage btn btn-primary btn-cpage';
|
$class = (!empty($options['class'])) ? $options['class'] : 'cpage btn btn-primary btn-cpage';
|
||||||
$buttonTarget = (!empty($options['target'])) ? ' target="'.$options['target'].'" ' : $buttonTarget;
|
$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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user