Viewing 1 replies (of 1 total)
  • Thread Starter milotimbol

    (@milotimbol)

    Temporarily Instead of reading a .js.php file. I outputted the javascript into the page.

    <script type=”text/javascript”>
    <?php
    include_once(“/wp-content/themes/360philippines/js/effects.js.php”);
    ?>
    </script>

    This works but I don’t like how it looks. Any ideas how I can make the .js.php approach work?

    I will come back and check on this post every once in a while.

Viewing 1 replies (of 1 total)
  • The topic ‘javascript php coming out as wrong type’ is closed to new replies.