Enqueue scripts when comment form is displayed only
-
There is no need to enqueue scripts on web pages that do not contain comment form.
Also, since we are loading comment form via Ajax, scripts should not be enqueued until the comment form is displayed.
So actually plugin should enqueue scripts when comment form starts rendering.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Enqueue scripts when comment form is displayed only’ is closed to new replies.