Loading scripts to the Post Edit page only
I have added a few meta boxes for the posts and pages, so I want to load a js script only on the Create/Edit post and page. How can I do that? Currently I’m using following but that loads the scripts in all pages in the admin. function my_meta_boxes() { add_meta_box(“post_meta”, “Meta”, “post_meta”, “post”, “normal”, … Read more