• I am trying to insert this pop up over shortcode button but failed.Please guide me how I can place code over shortcode button click because I added onclick but not working and tried all possible ways.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author supsystic

    (@supsysticcom)

    Hi!
    In order to help you I need to know more detail what exactly do you want to do and how it should work. Please describe it more specific.

    Besides, if you want to insert popup shortsode exactly in post or pages – please use this “onclick” attribute – onclick=”ppsShowPopup(59); return false;”

    If you want to place popup shortcode in code of your site, for example – in code of your template, you need to use this code – https://screencast.com/t/4Msc2LS1q

    In any case please provide us screenshot how you have inserted the popup code on your site and link to the page where we can check this code. We will check what is wrong and will help you to solve this problem

    Also you can contact us through our?internal support.

    Our popup plugin has been repeatedly tested and all these options should work. Most likely you incorrectly have inserted the required code. We will be glad to help you with this.

    Thread Starter vidya.purohit

    (@vidyapurohit)

    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.

    Plugin Author supsystic

    (@supsysticcom)

    Hello.
    So, code that you have now there – is:
    $out .= '<h2><a href="'.do_shortcode('[supsystic-show-pop-up id=50]').'">'.$button_text.' <span>'.__('Now', 'iamd_text_domain').'</span></a></h2>';
    Is this correct? Can you please send me link to your site where I can see this particular link? Or maybe you can send it in our internal support here https://supsystic.com/contact-us/ ?

    Thread Starter vidya.purohit

    (@vidyapurohit)

    Exactly I placed same code and also tried for onclick=”ppsShowPopup(59); return false;” but not working and I want to show contact form onclick pop-up but still pop up not working so I cannot proceed further.

    Thread Starter vidya.purohit

    (@vidyapurohit)

    my site is https://www.mydesertsafaridubai.com/ where “Enquire Now” button onclick I want pop-up

    Plugin Author supsystic

    (@supsysticcom)

    Hello!
    Please check the message in our internal support.
    And please respond us.

    imn93

    (@imn93)

    Hello friend, your code must be “>Click

    You not closed php label

    imn93

    (@imn93)

    imn93

    (@imn93)

    `<a href=”<?php echo do_shortcode(‘[supsystic-show-pop-up id=50]’)?>”>Click</a>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘how to insert pop up over short code button?’ is closed to new replies.