If I go to your blog, I can see “comment-reply.min.js” is being loaded. Check this screenshot.
Is this the JS file you want?
There are three conditions that must be met for that script to be enqueued, right?
- You’re on a single Post page (is_singular())
- Comments are open (comments_open())
- You have Threaded Comments enabled (get_option( ‘thread_comments’ ))
When you check if your JS is loading, don’t check view-source: but rather, right-click, Inspect Element and then check out the Sources tab for your JS.
Does that help or am I missing something?
Oh right, I couldn’t find it in the view-source: so I assumed that it wasn’t being loaded, I didn’t realize that the Sources tab was the better way to check for it.
Thank you very much for your help!
(@shaktal)
11 years, 4 months ago
I’m trying to get the
comment-replyscript to load on my site for my blog posts.I have the following in my
header.phpfile:However, when using
view-source:there is no trace of thecomment-reply.jsfile that I would expect.Does anyone have any ideas how I can get this to be loaded?
My site url is http://www.thomas-russell.co.uk if it helps,
Thanks!