Admin custom script on post

Posted in: Newspaper
Post count: 115

Hi there,

Please I want to use some jquery script but only in the admin area when the user creates a new/update post, what’s the location for loading script in this case.

Also How can I use this script in post update, this is append on submit (update, create) post :

jQuery(‘#tinymce’).append(‘<h1>Hello World</h1> ‘);

Thx

Post count: 18283

Hello !

You can insert custom codes in theme panel as you can see here: https://www.screencast.com/t/dz7xtKIEY

Thank you !

Post count: 115

Ok,
actually I need to append to editor jQuery(‘#tinymce’).append(‘<h1>Hello World</h1>‘);

In teme js editor problem is with location, I need put this in only and for only admin backend.

thx

Post count: 18283

Hello !

Unfortunately this will require custom coding which is not covered by the support team. For this you can contact our custom work team here: https://tagdiv.com/web-development-services/

Thank you !

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.