I have a plugin page, which doesn’t have header.php or footer.php. How can I include WordPress jQuery on this page so I can use syntax like below ?

  jQuery(document).ready(function()
  {
      alert('hello');
  });

At the moment it says:

Uncaught ReferenceError: jQuery is not defined

Read more here: How to include jQuery when no header and footer on the page


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: