jmiqueleiz
Forum Replies Created
-
https://dodo-coco.com/index.php/coding/
When trying it there, I mange for the pictures to resize but not uniformly and not as a whole. When I decrease the window size, decreases right column first, then middle column, left column always the same ??didn’t crash this time, however there is no noticeable effect on the gallery
Nothing, keeps crashing, probably theme related :(. Need to sleep is 02:30 but will be back in a few hours, thank you very much for your help, I hope we can solve it tomorrow.
Will try tomorrow in a different theme to see if it works ok.
Turning the plugin off breaks the arranging on the page that uses [gallery]: https://dodo-coco.com/index.php/collections/fallwinter-2013-14/?lang=en
But the page I had problem resizing (the one with hard code) remains the same (https://dodo-coco.com/index.php/collections/springsummer-2014/?lang=en). The order, display and the way masonry works is ok. So now I’m doubting if the plugin has influence over this one or not :S
It is yeah, columns have same behaviour as before.
I’m creating the jmig.js file here: wp-content/themes/barber-shop/_/_js
which is where the other .js of the files were uploaded.But whenever I alter the functions is when it crash. I have this code on it which may be causing a conflict?:
// LOAD JQUERY SCRIPTS function tinktank_add_scripts() { wp_enqueue_script('jquery'); wp_register_script( 'add-custom-js', get_template_directory_uri() . '/_/_js/custom-ck.js', array('jquery'),'',true ); // TO FOOTER wp_enqueue_script( 'add-custom-js' ); } add_action( 'wp_enqueue_scripts', 'tinktank_add_scripts' );
When I alter the functions it seem to crash :S:
Fatal error: Cannot redeclare jmig_js() (previously declared in D:\wwwroot\dodococo\wwwroot\wp-content\plugins\jquery-masonry-image-gallery\functions\three-dot-nine.php:84) in D:\wwwroot\dodococo\wwwroot\wp-content\themes\barber-shop\functions.php on line 76
Nop, keeping it simple.
Hmm should I pick the first code and create a .js file? If so, which name and where to put it?
Then for the second thing to add to functions.php any place is ok? I put it in the end but crashed my site ??
Hi phoenixMagoo thanks for your answer but when you say “follow my tutorial here” where does “here” exactly mean?I looked in Support, FAQ and so on but nothing that resembles a tutorial ??