admin管理员组

文章数量:1323723

I tried to implement a jquery plugin into a wp-page which gets displayed on an elementor page. Here is the link to the plugin.

What I have tried so far:

1. I loaded the jquery-file via plugin (via functions.php it didn't work). -> it loads in head: !AikSNhBAk4tevjHlEeV67BifIivC

I am not sure about the path, if it's correct and if it's even necessary on wordpress anymore.
2. I inserted the html and css (this was the easy part).
3. I inserted ( +replaced '$' with 'jquery' ) and loaded the core.js via functions.php
!AikSNhBAk4tevjPkE6V7KdVSICTh

That's how far I could go, I know my steps are not correct, but I don't know to which folder I should upload the files (exact structure) and how I should call the js files on elementor.
The html and css part work already.

I'd like to understand how to do that correctly - if you have any good advice for me.
Thank you.

I tried to implement a jquery plugin into a wp-page which gets displayed on an elementor page. Here is the link to the plugin.

What I have tried so far:

1. I loaded the jquery-file via plugin (via functions.php it didn't work). -> it loads in head: https://1drv.ms/u/s!AikSNhBAk4tevjHlEeV67BifIivC

I am not sure about the path, if it's correct and if it's even necessary on wordpress anymore.
2. I inserted the html and css (this was the easy part).
3. I inserted ( +replaced '$' with 'jquery' ) and loaded the core.js via functions.php
https://1drv.ms/u/s!AikSNhBAk4tevjPkE6V7KdVSICTh

That's how far I could go, I know my steps are not correct, but I don't know to which folder I should upload the files (exact structure) and how I should call the js files on elementor.
The html and css part work already.

I'd like to understand how to do that correctly - if you have any good advice for me.
Thank you.

Share Improve this question asked Aug 26, 2020 at 17:40 ChrizzlyChrizzly 34 bronze badges 1
  • Does really nobody know where to add the downloaded folder in wordpress? I don't know the exact structure so I am still struggling to implement the jquery plugin. Thank you in advance – Chrizzly Commented Sep 10, 2020 at 18:53
Add a comment  | 

1 Answer 1

Reset to default 0

I just made a wordpress plugin out of the jquery plugin, inserted shortcodes and changed the way of adding the images. This solved all mentioned issues.

本文标签: javascriptDoes anybody know how to insert a complete jquery plugin into a wordpress elementorpage