Copy CodePen HTML, CSS, and JS to WordPress with Microthemer

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ •

  • @kiko2881
    @kiko2881 2 роки тому +1

    thanks a lot but
    dose not work with jquery

    • @Microthemer
      @Microthemer  2 роки тому

      Hey Kiko, thanks for your comment. I just did a quick test and it should work with the following jQuery code (assuming jQuery is loaded):
      jQuery( document ).ready(function($) {
      alert('This is a test');
      });
      After clicking Ctrl+S to save your JS code you should get an alert that says "This is a test".
      Microthemer doesn't load jQuery on the frontend unless you choose to load it via General > settings > JS Libraries. This video shows how: themeover.com/adding-custom-javascript/?seekTo=58
      If jQuery is in fact loaded, there might be some other issue at play. I should be able to diagnose this if you can send me a link to the site your working on. You can use my contact form if you prefer: themeover.com/support/contact/
      Thanks,
      Sebastian

    • @kiko2881
      @kiko2881 2 роки тому

      @@Microthemer it works!!!!
      Thank you very much