When I stick below piece of code in my (Fatmoon) functions.php (overwritten via ftp) my site won't load anymore. Should I be patient? is that a server thing? Or did I not use the right code?
Well code looks good for me, it might be different conflict. Please enable debug mode https://codex.wordpress.org/WP_DEBUG Next add this code again, and come back to me with error that you will see when opening your page :-)
Parse error: syntax error, unexpected '}' in /home/vhosting/f/vhost0029702/domains/bumsch.com/htdocs/www/wp-content/themes/fatmoon/functions.php on line 21
Cool. I just did that and now the site does load but it still shows me a pop up. (this time without the frame around it) http://bumsch.com/work/book-mockup-2/
that's a pity. I used media grid because I couldn't load multiple images at once and I wasn't able to place pictures side by side. Or is there a way to adjust?
If you want to put them side by side, you will have to place it in different columns for example. Unfortunately I don't have control over what VC implements, so we have to use what they give ;-)
Comments
First thing: why you would want that?
General answer would be to disable lightbox http://apollo13.eu/docs/apollo13_framework_theme/#!/theme_lightbox
But solution depends on what you need.
With kind regards.
I went to: Customise -> General settings -> lightbox settings and turned of lightbox settings.
elas that didn't help. please advise.
Thx! Vincent
I see you used here media grid element from VC, and it doesn't have option to disable it. You can try this solution however http://stackoverflow.com/questions/37179025/disable-prettyphoto-wordpress-visual-composer
Or instead of media grid use single images.
With kind regards.
Thanks for the offered solution.
When I stick below piece of code in my (Fatmoon) functions.php (overwritten via ftp) my site won't load anymore.
Should I be patient? is that a server thing? Or did I not use the right code?
function remove_vc_prettyphoto(){
wp_dequeue_script( 'prettyphoto' );
wp_deregister_script( 'prettyphoto' );
wp_dequeue_style( 'prettyphoto' );
wp_deregister_style( 'prettyphoto' );
}
add_action( 'wp_enqueue_scripts', 'remove_vc_prettyphoto', 9999 );
Next add this code again, and come back to me with error that you will see when opening your page :-)
With kind regards.
after debug tweak it says...
Parse error: syntax error, unexpected '}' in /home/vhosting/f/vhost0029702/domains/bumsch.com/htdocs/www/wp-content/themes/fatmoon/functions.php on line 21
}
from line 21With kind regards.
http://bumsch.com/work/book-mockup-2/
Any ideas?
Don't worry almost weekend.
As removing link from here is not possible without editing VC code I will cite my post ;-) See ya on Monday.
With kind regards.
Thx!
that's a pity. I used media grid because I couldn't load multiple images at once and I wasn't able to place pictures side by side. Or is there a way to adjust?
Unfortunately I don't have control over what VC implements, so we have to use what they give ;-)
With kind regards.
Thank you!