• Resolved jkjkjk

    (@jkjkjk)


    Is it possible to have the samme custom js on the frontend AND on the admin?

    It’s a little jquery to animate my header and i want it to also work in Elementor (page builder).
    I already searched the forum and the web but couldn’t find an answer.
    Can someone help please ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Simply choosing the “Where in site: In Admin” option will work both on the frontend and in the Elementor page builder.

    When opening a page for editing with the Elementor page builder, that is still “frontend” and not “admin”.

    Thread Starter jkjkjk

    (@jkjkjk)

    Okay but when I am not logged in the script doesn’t work?

    Plugin Author SilkyPress

    (@diana_burduja)

    Please try reformulating the question.

    Plugin Author SilkyPress

    (@diana_burduja)

    You’ll need to open the browser’s console and read the JS errors. That should help you understand why in your case the script works on one page, but not the other.

    On my test website a JS code that works on the frontend will also work in the Elementor. You can also try with a simple JS code like alert('test');

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘frontend AND admin’ is closed to new replies.