I'm trying to get the WordPress core comment popup function to work, but no luck so far..
I've been following this guide: https://firstsiteguide.com/open-wordpress-comments-popup/
But since I'm using elementor pro in WordPress, there are some issues with changing the correct PHP files, but I have inserted the php code at the corresponding places.
This is the first code:
<?PHP comments_popup_script(500, 600); ?>
This is the "call the popup script" function:
<?PHP comments_popup_link( 'No comments', '1 comment', '% comments', 'btn btn-primary', 'Comments Disabled'); ?>
This will display: 5 comments And if I press the text it only adds #comment after the url, but no popup..
Now, as I wrote before, i can't guarantee that the first script is called, and I'm a newbie at this..
Does anybody know anything about this?