franukis
Forum Replies Created
-
Forum: Plugins
In reply to: [Social] Missing span in h3. Probably.Hi MedniLedved,
Sorry for the late reply. I’ve just found the same problem, and found the solution. I did this:
-Edit /wp-includes/comment-template.php
-Find this line:<h3 id="reply-title" class="comment-reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?><small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>-Replace it with:
<h3 id="reply-title" class="comment-reply-title"><span><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?></span> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>And that’s it 🙂
Hope it helps!
Solved!!!
Did some research on the way scripts are enqueued on WP. The problem was I had added a call to http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js directly in my header.php, so I could have a floating nav bar. After correctly enqueueing it in the functions.php, the plugin worked again, and my nav bar is still floating 🙂
Hi Richard, thanks for your support. I’m trying different solutions and, by now the plugin you saw is the easy way.
However, I’d prefer to use Cookie Law info plugin, so if you could point me in what direction should I keep testing, it would be of great help, as I’m not used to javascript.
I tried disabling every other plugin and widget making use of javascript, and the error keeps popping 🙁
As long as I can see it, the problem seems to be that cookielawinfo.js is not getting the reference of jquery.cookie.js, as if it was not included… I’d try to merge both files in one, declaring jquery.cookie in the same file that uses it, as a patch… but as I said, I’m no javascript expert.
Just let me know what should I try, and I’ll post the results 🙂
Thanks, anyway
Hi, and thanks for your support 🙂
However, I tried disabling all plugins, but Cookie Law, and even I disabled Facebook widget, but I keep getting the very same error:
Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method ‘cookie’
Of course, every other javascript warning disappeared, but the cookie bar still does not show, even when I click on the “Privacy & Cookies Policy” message :-/
Found new info. This seems to be the error:
Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method ‘cookie’
However, it’s related to cookielawinfo.js, where I haven’t touch anything 🙁