Yootheme. Plugin works not correctly
-
Hello! Your plugin and support are great. Sometime you helped me but I recently changed the temlplate and have a problem again.
I use Yootheme’s template and there are no replytocom links in their themes. Reply links look like https://website.com/# . It is good for SEO but ajax comments work not correctly.
I try to explain my problem. First comment is added fine, ajax work. After adding comment I can’t reply any comment one more time. When I click on reply button, page scrolls to top as if I click to-top button. So I can add only one reply and than I need to refresh the page.
You can chek the problem here – https://dev.life-trip.ru/statya-dlya-proverki-podpiski/
Wordpress 4.0, all plugins are disabled.Maybe there is a problem in script for reply
<script type="text/javascript"> jQuery(function($) { var respond = $("#respond"); $("p.js-reply > a").bind("click", function(){ var id = $(this).attr('rel'); respond.find(".comment-cancelReply:first").remove(); $('<a><?php echo __("Cancel");?></a>').addClass('comment-cancelReply uk-margin-left').attr('href', "#respond").bind("click", function(){ respond.find(".comment-cancelReply:first").remove(); respond.appendTo($('#comments')).find("[name=comment_parent]").val(0); return false; }).appendTo(respond.find(".actions:first")); respond.find("[name=comment_parent]").val(id); respond.appendTo($("#comment-"+id)); return false; }); }); </script>
Or maybe It needs to write somehting to ‘OnAfterUpdateComments’ callback… I hope you can help me.
- The topic ‘Yootheme. Plugin works not correctly’ is closed to new replies.