enable on custom included posts
-
i have a childtheme setup where i custom include posts in my main page.
after some long tweaking i now have the (mainly) default comments.php included there and it shows up fine.if i load a single page with comments enabled i get
13:19:19.962 [WP Ajaxify Comments] Initializing version 1.7.3 wp-ajaxify-comments.js:87:17 13:19:19.962 [WP Ajaxify Comments] Found jQuery 3.6.0 wp-ajaxify-comments.js:87:17 13:19:19.962 [WP Ajaxify Comments] Found jQuery blockUI 2.7 wp-ajaxify-comments.js:87:17 13:19:19.963 [WP Ajaxify Comments] Found jQuery Idle Timer plugin wp-ajaxify-comments.js:87:17 13:19:19.963 [WP Ajaxify Comments] Attach form... wp-ajaxify-comments.js:87:17 13:19:19.964 [WP Ajaxify Comments] Search comment form (selector: '.comment-form')... Found: Object { 0: form#commentform.comment-form , length: 1, prevObject: {…} } wp-ajaxify-comments.js:87:17 13:19:19.967 [WP Ajaxify Comments] Search comments container (selector: '.comments-area')... Found: Object { 0: div.comments-area.default-max-width.show-avatars , length: 1, prevObject: {…} } wp-ajaxify-comments.js:87:17 13:19:19.968 [WP Ajaxify Comments] Search respond container (selector: '.comment-respond')... Found: Object { 0: div#respond.comment-respond , length: 1, prevObject: {…} } wp-ajaxify-comments.js:87:17 13:19:19.969 [WP Ajaxify Comments] Search comment paging links (selector: '.comments-area [class^='nav-'] a')... Not found wp-ajaxify-comments.js:87:17 13:19:19.969 [WP Ajaxify Comments] Search comment links (selector: '.comments-area a[href*="/comment-page-"]')... Not found wp-ajaxify-comments.js:87:17 13:19:19.970 [WP Ajaxify Comments] Initialization completed
and the ajaxify works.
if i load my special main page i only get
13:20:56.220 [WP Ajaxify Comments] Initializing version 1.7.3 wp-ajaxify-comments.js:87:17 13:20:56.221 [WP Ajaxify Comments] Found jQuery 3.6.0 wp-ajaxify-comments.js:87:17 13:20:56.221 [WP Ajaxify Comments] Found jQuery blockUI 2.7 wp-ajaxify-comments.js:87:17 13:20:56.221 [WP Ajaxify Comments] Found jQuery Idle Timer plugin wp-ajaxify-comments.js:87:17 13:20:56.222 [WP Ajaxify Comments] Initialization completed
but if just search for the form i also find it in the dom:
13:24:14.179 document.querySelector('.comment-form') 13:24:15.850 <form id="commentform" class="comment-form" action="https://localhost/oswald….de/wp-comments-post.php" method="post" novalidate="">
what / when exactly is the script searching for the forms?
any tips are welcome ??
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘enable on custom included posts’ is closed to new replies.