Home Forums Travel WordPress Theme Grid is missing Reply To: Grid is missing

#2322

raphnix
Participant

Hi, see below how the code looks like in my php. What part of the code shall I replace by the jquery code given by your last post?

If I change the bold part into your code, wordpress collapses. Also if I add the code above the bold part, wordpress also collapses…

Thanks

function ux_frontend_js()
{

wp_register_script( ‘jquery183’, ‘http://code.jquery.com/jquery-1.8.3.min.js’, ‘jquery’,”1″, true );
wp_register_script( ‘ux-infinitescroll’, get_template_directory_uri().’/js/jquery.infinitescroll.min.js’, ‘jquery’,”1″, true );
wp_register_script( ‘ux-galleria’, get_template_directory_uri().’/js/galleria-1.2.7.min.js’, ‘jquery’, “1.2.7”, true);
wp_register_script( ‘ux-galleria-theme’, get_template_directory_uri().’/js/themes/classic/galleria.classic.min.js’, ‘jquery’, “1”, true);
wp_register_script( ‘ux-comments-ajax’, get_template_directory_uri().’/js/comments-ajax.js’, ‘jquery’, “1.3”, true);
wp_register_script( ‘ux-prettyphoto’, get_template_directory_uri().’/js/prettyPhoto.js’, ‘jquery’, “3.1”, true);
wp_register_script( ‘ux-main’, get_template_directory_uri().’/js/main.js’, ‘jquery’, “1”, true);
wp_register_script( ‘ux-map-load-ggserver’, ‘http://maps.google.com/maps/api/js?sensor=false’, ‘jquery’, “1”, true);
wp_register_script( ‘ux-jqueryuimap’, get_template_directory_uri().’/js/jquery.ui.map.js’, ‘jquery’, “1”, true);
wp_register_script( ‘ux-player’, get_template_directory_uri().’/js/mediaelement-and-player.min.js’, ‘jquery’, “3.1”, true);
wp_register_script( ‘ux-backslider’, UX_LOCAL_URL.’/js/jquery.backslider.min.js’, ‘jquery’, “1.1”, true);
wp_register_script( ‘ux-functions’, UX_LOCAL_URL . ‘/functions/include_function.js.php’, ‘jquery’, ‘1.4.5’, true);
wp_register_script( ‘ux-jqeasy’, UX_LOCAL_URL.’/js/jquery.easing.1.3.js’, ‘jquery’, “1.3”, true);

wp_enqueue_script( ‘jquery183’ );
wp_enqueue_script( ‘ux-jqeasy’ );
wp_enqueue_script( ‘ux-infinitescroll’ );
wp_enqueue_script( ‘ux-player’ );
wp_enqueue_script( ‘ux-galleria’ );
wp_enqueue_script( ‘ux-galleria-theme’ );
wp_enqueue_script( ‘ux-comments-ajax’ );
wp_enqueue_script( ‘ux-backslider’ );
wp_enqueue_script( ‘ux-prettyphoto’ );
wp_enqueue_script( ‘ux-main’ );
wp_enqueue_script( ‘ux-map-load-ggserver’ );
wp_enqueue_script( ‘ux-jqueryuimap’ );
wp_enqueue_script( ‘ux-functions’ );

}