I have a button I want to use for my pages and I want to link pop up maker to as I’ve created an inquiry form.
I want pple to click on the enquire now button and that will open the pop up inquiry form.
How do load the button on the page in avia and then attached the popup/contact 7 code?
Screen shot attached below
Hey Darren,
To open pages in lightbox using an iframe, create a link like this in a code block element:
<a href="http://127.0.0.1/pages/blank-pages/coming-soon-page/?iframe=true">Page</a>
To open shortcode in a lightbox follow these steps:
https://kriesi.at/support/topic/lightbox-for-mailchimp-form/#post-582439
Best regards,
Mike
Lost everything?
Cannot login to wordpress, my site won’t load all I get is a white screen.
I had to delete the code for the functions.php. It crashed my whole site.
As soon as I saved the code:
function add_custom_script(){
?>
<script>
jQuery(‘.open-popup-link’).magnificPopup({
type:’inline’,
midClick: true
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_custom_script’);
my whole site disappeared and I could not login to WordPress.
I went through cPanel and deleted the code and everything is back working.
Why does the code cause issues with my site?
I installed in appearance/editor – Enfold: Theme Functions (functions.php)
Hi DarrenVIP,
You can check the server log for the error that brought the whole website down.
Best regards,
Victoria
too many errors….. seems to be a mess.
I’ll have to pay someone who knows how to fix the errors and the css codes I’ve been given that seem to be messing up my site
Hi DarrenVIP,
I have checked the code you posted above and the reason why it crashed your site is because of the single quotes (in some cases it’s double quotes), try to manually replace those single quotes.
Best regards,
Nikko