Creating a embed system
-
Hi,
i create box means syntax highlighter for my website and all is good.
how i can make an embed code for my boxes, means a user come to my site and get an embed code to display that box on their website.
Embed Code look like this
<script src="https://mywebsite.com/embed/mlo8.js/"></script>
What i created
- Function code that will make [php]any text[/php] and I add this to my post. Then it looks like this (https://i.ibb.co/JmDXrLR/scrnli-25-05-2023-06-22-17.png)
- i create css in my css folder
- At last my jquery code for copy the text and js file in my js folder
So what is the best way to make an embed code
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Creating a embed system’ is closed to new replies.