Use in WordPress

I have a WordPress website. How can I use this code on my site?

I don’t believe there’s a ready-made way to do that.

How can I put an online code editor on my site?

I suppose you could embed the code with a plugin like this (may or may not work):