[ad_1]
Hey! i want to know that if there’s a plugin from which i can add different back-end code in different post pages,
e.g
i want to use (script 1) on (post 1 page) only and not on every post.
and (script 2) on (post 2 page) only.
if there’s plugin on it do let me know please 🙂
thanks!
[ad_2]
Advanced custom fields, might work for you. If you can think of a way to build it. Or the simple custom css/js paid version allows you to select the page the code goes per url.
WPCodeBox or Code Snippets may help you out when doing custom code on specific pages/post/categories and such.
I have done something like this by using categories then you can copy your post.php template and make a custom template by using post-categoryname.php (where categoryname = the name of the category you add to the post).
My plugin, Code Embed will allow you to do this… [https://wordpress.org/plugins/simple-embed-code/]). You make use of the built-in custom fields to add scripts and then add a tag into your post/page based on where you want to the script to be added in.
Let me know if you have any questions about it.