How To Add Custom CSS and Javascript in Add New Post
-
Hi
I have developed a list of custom plugins which will increase over time. They may reach over 1,000 in next couple of years. So, these many plugins will slow down the website over time.
Each plugin is a custom code of HTML, CSS, and Javascript, which will be used once or max twice in just one post. That means one plugin for 1st post, 2nd plugin for 2nd post, and so on.
So, how can I include these custom codes in ‘Add New Post’ section of WordPress so that the code is loaded only when that post is opened? Having a plugin will make it load on each page load.
Please guide me.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.