Custom Scripts per page or Custom Post Type
I’m assuming that you want to load some post-specific scripts (JavaScript) in header. 1. Using WordPress Custom Fields One way you achieve this by using wordpress custom fields, While posting new post just add a custom field with name (i.e – header_script) and enter the Script source in next text-field. This will store the Script … Read more