Hi,
I placed onclick="ppsShowPopup(59); return false;"
over a shortcode button in page but its not working as I took all screen shots where I need to send my all screen please mention mail id.Also I tried the button click code for php file in shortcode.php on button shortcode provided by you <a href="<?php echo do_shortcode('[supsystic-show-pop-up id=50]')?">Click</a>
my shortcode for packages
if(!function_exists('dt_holiday_ads')) {
function dt_holiday_ads( $atts, $content = null ) {
extract(shortcode_atts(array(
'title' => '',
'subtitle' => '',
'link' => '',
'image' => 'https://placehold.it/232x224',
'button_text' => __('Hurry Book', 'iamd_text_domain')
), $atts));
$out = '';
$out .= '<div class="holioday-pack-wrapper">';
$out .= '<div class="holioday-pack">';
$out .= '<h3>'.$title.' <span>'.$subtitle.'</span></h3>';
$out .= '<img src="'.$image.'" alt="holiday-img" />';
$out .= '<h2><a href="'.$link.'">'.$button_text.' <span>'.__('Now', 'iamd_text_domain').'</span></a></h2>';
$out .= '</div>';
$out .= '</div>';
return $out;
}
in this code I replaced $out .= '<h2><a href="'.$link.'">'.$button_text.' <span>'.__('Now', 'iamd_text_domain').'</span></a></h2>';
by above code but failed.Kindly, guide.