function bs_shortcodes_shortcode_popovertop_tip in Bootstrap Theme Shortcodes 7
1 string reference to 'bs_shortcodes_shortcode_popovertop_tip'
File
- inc/
elements/ popovers.php, line 29
Code
function bs_shortcodes_shortcode_popovertop_tip($format, $long) {
$output = array();
$output[] = '<p><strong>' . t('[popovertop title="Your popover title" contents="This is the content for the popover-top"]Trigger[/popovertop]') . '</strong>';
if ($long) {
$output[] = t('Inserts a popover at the top of an element, on hover with your custom text.') . '</p>';
$output[] = '<p> </p>';
}
else {
$output[] = t('Inserts a popover at the top of an element, on hover with your custom text.') . '</p>';
}
return implode(' ', $output);
}