-
AuthorPosts
-
May 1, 2014 at 19:38 #2927eveklcParticipant
Hi there,
Recently, I installed Gmedia Gallery plugin into this wepage “http://www.audreycooks.com/audreycooks/?page_id=3270″
And found this error:
Uncaught TypeError: undefined is not a function ?page_id=3270:148
(anonymous function) ?page_id=3270:148
fire jquery.js:3047
self.fireWith jquery.js:3159
jQuery.extend.ready jquery.js:3365
completed jquery.js:3380This is part of the coding and the error is stated in bold letters:
<div class=”entry-content”>
<div class=”gmedia_gallery slider_module” id=”GmediaGallery_5″ data-gallery=”5″ data-module=”slider”><script type=”text/javascript”>
var GmediaGallery_5;
jQuery(document).ready(function(){
var settings = {“maxwidth”:”0″,”maxheight”:”0″,”property5″:”1″,”property2″:”10″,”property3″:”14″,”thumbSpace”:”10″,”fancyBox”:”0″,”showLink”:”0″,”linkTarget”:”_self”,”property4″:”0″,”property0″:”opaque”,”property1″:”ffffff”,”property6″:”000000″,”property7″:”75c30f”,”property8″:”ffffff”,”property15″:”75c30f”,”titleFontSize”:”12″,”property16″:”ffffff”,”descriptionFontSize”:”11″,”property13″:”000000″,”property14″:”85″,”customCSS”:””,”ID”:”5″,”moduleUrl”:”http:\/\/www.audreycooks.com\/audreycooks\/wp-content\/grand-media\/module\/slider”,”pluginUrl”:”http:\/\/www.audreycooks.com\/audreycooks\/wp-content\/plugins\/grand-media”,”libraryUrl”:”http:\/\/www.audreycooks.com\/audreycooks\/wp-content\/grand-media”,”key”:””};
var content = [
{‘gid’:’gambar_1′,’name’:’gallery’,’title’:”Gallery”,’galdesc’:””,’path’:”http:\/\/www.audreycooks.com\/audreycooks\/wp-content\/grand-media”,’data’:[
{‘pid’: ‘8’,’filename’: ‘/image/arise1_1.jpg’,’thumb’: ‘/image/thumb/arise1_1.jpg’,’alttext’: “Arise1”,’description’: “”,’link’:””,’imagedate’: ‘2014-05-01 23:51:51′,’views’: ‘3’,’likes’: ‘0’,’w’: ‘268’,’h’: ‘402’},
{‘pid’: ‘7’,’filename’: ‘/image/apple_crumble3_1.jpg’,’thumb’: ‘/image/thumb/apple_crumble3_1.jpg’,’alttext’: “Apple Crumble3”,’description’: “”,’link’:””,’imagedate’: ‘2014-05-01 23:51:50′,’views’: ‘3’,’likes’: ‘0’,’w’: ‘268’,’h’: ‘402’},
{‘pid’: ‘6’,’filename’: ‘/image/apple_crumble2_1.jpg’,’thumb’: ‘/image/thumb/apple_crumble2_1.jpg’,’alttext’: “Apple Crumble2”,’description’: “”,’link’:””,’imagedate’: ‘2014-05-01 23:51:48′,’views’: ‘1’,’likes’: ‘0’,’w’: ‘237’,’h’: ‘335’},
{‘pid’: ‘5’,’filename’: ‘/image/apple_crumble1_1.jpg’,’thumb’: ‘/image/thumb/apple_crumble1_1.jpg’,’alttext’: “Apple Crumble1”,’description’: “”,’link’:””,’imagedate’: ‘2014-05-01 23:51:47′,’views’: ‘1’,’likes’: ‘0’,’w’: ‘212’,’h’: ‘324’}
]}
];
GmediaGallery_5 = jQuery(‘#GmediaGallery_5’).gmSlider([content, settings]);
Uncaught TypeError: undefined is not a function
});
</script>I have added this jquery :
<script src=”//cdn.jsdelivr.net/jquery/2.1.0/jquery.js”></script>I have tried all sorts of methods but I failed to solve this.
I hope that someone here would be able to help solve this.Thank you.
May 3, 2014 at 11:25 #2939RattusKeymasterSeems like in your theme missed function in footer.php file. Read more here: http://codex.wordpress.org/Function_Reference/wp_footer
May 3, 2014 at 17:27 #2968eveklcParticipantThank you, Rattus. It really worked!
-
AuthorPosts
- The forum ‘Gmedia Gallery WordPress Plugin’ is closed to new topics and replies.