Hello, is it possible to insert both PHP and JS on a post using the CJT block on the post admin page?
I ask as I have to add PHP and JS code to every product on our Woocomerce powered store and each piece of code needs to have the post ID placed in it. It is easier to add the code directly to a post otherwise I will need to create 200+ entries in the CJT admin area.
Thanks for your support question and sorry for the delay in getting back to you.
That is a very good question and one that I will pose to my colleague.
I received a response from my developer, however sorry it is rather short. It’s just he is busy with so many projects at the moment.
Anyway, he reply was:
“Yes, you can mix PHP, HTML, CSS and JavaScript. You can programmatically output Post ID along with the JavaScript using PHP.”