Hi all, I’m new to using this plugin. I’m trying to port an HTML/JS/PHP project to WordPress and I’m having difficulties.
I created two HTML pages with CJT called test1.html and test2.html and I want to load the second one in the first one with this code:
<!DOCTYPE html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#cntr_debug").load("test2.html");
});
</script>
<div id="cntr_test">Hi</div>
<div id="cntr_debug"></div>
The problem is that I don’t know how to reference the second page using CJT because it can’t load test2.html
Can you help me? Thanks in advance.