novina
Forum Replies Created
-
Forum: Hacks
In reply to: jQuery conflictIt seems like I added the following script following another thread’s advice at function.php
function my_init() {
if (!is_admin()) {
wp_deregister_script(‘jquery’);// load the local copy of jQuery in the footer
wp_register_script(‘jquery’, ‘/wp-includes/js/jquery/jquery.js’, false, ‘1.3.2’, true);// or load the Google API copy in the footer
//wp_register_script(‘jquery’, ‘https://code.jquery.com/jquery-latest.min.js’);wp_enqueue_script(‘jquery’);
}
}but it doesn’t seem to do anything. The theme itself doesn’t seem to have proper jquery enqueue, is that possible? If it doesn’t, wouldn’t it inherit WordPress’s?
oh sorry, found it at header.php,
it looks like this is the jquery file included, is that the one provided by wordpress?
wp_enqueue_script(‘jquerymenu’, get_bloginfo(‘template_directory’) . ‘/js/jquery.js’,
sorry, but at which file do i check and replace the jquery link?
i’m looking at function.php (i think that’s where the jquery script may be located), but I can’t seem to find any link to jquery files. is it possible the theme doesn’t have one…?
if not, how do i add one…?
sorry, but at which file do i check and replace the jquery link?
(it looks like the navigation buttons aren’t showing up too…?)
same thing for me. and i’m using the latest version with the latest version of wordpress.
Edit: Nevermind, disabled Slick Social Media Buttons and I’m still having the same problem.
Just replying to see what may be the problem. I am guessing the gallery/slideshow may conflict with the share plugin on the left (slick social media button).
I’m not entirely sure since I am not very familiar with either plugins. But if you click on an image from the nggallery, and the image enters the lightbox, you’ll relax the social media buttons on the left also light up.
Can someone give me an idea what I can do to solve this problem?
Thanks a lot in advance.
Forum: Plugins
In reply to: [Cool Video Gallery] [Plugin: Cool Video Gallery] Issues with v1.5I’m not sure if this is a 1.5 issue, since I just added the plugin and have not used previous versions.
But when I try to add youtube videos, I crash the entire plugin completely.
Here’s the errors I get:
Warning: simplexml_load_file() [function.simplexml-load-file]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /nfs/c10/h01/mnt/142152/domains/wpdev2012.com/html/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 113 Warning: simplexml_load_file(https://gdata.youtube.com/feeds/api/videos/JO489FnY9Yo) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /nfs/c10/h01/mnt/142152/domains/wpdev2012.com/html/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 113 Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "https://gdata.youtube.com/feeds/api/videos/JO489FnY9Yo" in /nfs/c10/h01/mnt/142152/domains/wpdev2012.com/html/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 113 Fatal error: Call to a member function children() on a non-object in /nfs/c10/h01/mnt/142152/domains/wpdev2012.com/html/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 44
I had tried to use both the link youtube provided with its shorthand https://youtu.be/JO489FnY9Yo and its full address follow by the example of the add video site, but both equally give me the error.