Dear @djmim,
At the moment, php is the only solution in this case.
As there’s no search page in the list of the pages, it requires customizations like php to have the popup there.
We’re constantly working on our plugin updates, and we’ll consider this feature in our updates.
Thread Starter
djmim
(@djmim)
Hi
When Can have that one update?
Need very urgently
Thank you again for this amazing plugin
Dear @djmim,
We’re working on the brand new version of our plugin at the moment.
I’m afraid, we can’t estimate the exact time when it will be ready, maybe a month, maybe more.
Sorry for the inconvenience for now.
Thread Starter
djmim
(@djmim)
Thanks for your reply
Can I have any another solution or plugin suggestion?
Thanks
Dear @djmim,
You can try this temporary solution for now.
Please, add the following code, with your popup id number, in the search.php file of your theme:
<?php echo do_shortcode(‘[sg_popup id=“1” event=“onload”][/sg_popup]’); ?>
You can check the following knowledge base article (but this is for the index.php) just do the same for the search.php file: How to insert a popup inside a template?
Thread Starter
djmim
(@djmim)
It’s on click, so I can put event=”click”?
And it’s click on button so I can put button between ][ Right?
Dear @djmim,
Sure, you can!
That was just an example, and you can change the event to click if you wish.
Thread Starter
djmim
(@djmim)
Hi
I have put <?php echo do_shortcode(‘[sg_popup id=”4″ event=”click”]Click Here[/sg_popup]’); ?> And it’s working also but inside popup is fully empty…
But in website when I use shourtcode in website page, it works…
What can be issue?
Thanks
Dear @djmim,
Please, contact us via our Support email address so we can assist you directly, as this is a specific issue.
Here: support@popup-builder.com
Thread Starter
djmim
(@djmim)
Hi team
Sorry for late.
I have sent you request few days before. And sending you again on this email. Title is “POPUP in php button”
Can you please have a look? Thanks a lot in advance.
Thanks again for this amazing plugin 😀 because it works perfect on my site (only in php coding not working)
Thanks