Javascript issues when I convert my website to Wordpres
-
Hello,
I had recently opened a topic about this already, but back then I thought this was an issue of the Pinegrow Theme Converter Application. However, I found out now that Pinegrow has nothing to do with the problems I am experiencing and that’s why I am trying now again to get some help.
Basically, I am designing & building my website in Webflow. Webflow also has the option to export your entire code so that you can host the site somewhere else. I want to learn how to convert my Webflow website to wordpress. However, no matter if I use an application like the Pinegrow Theme converter or create a new theme myself with header.php, footer php, functions.php, style.css, index.php etc., whenever I convert my exported code from Webflow to WordPress, for all pages that are NOT index.php most of my javascript doesn’t work anymore.
However, the code should be fine bc when I open my exported code files from Webflow directly in a browser, everything looks and works exactly as it does in Webflow. It’s just when I convert it to WordPress (manually or with an application like Pinegrow) that all pages that are not index.php have issues with the javascript.
I also had reached out to the Pinegrow support but they basically just said that the html needs some fine tuning to correctly enqueue the javascript as well as inline javascript. I am just confused why everything works great on the index.php site but not on the other pages.
When I inspect my pages in chrome, I get the following issue:
[email protected]:10 Uncaught TypeError: Cannot read property 'tagName' of null at t.value ([email protected]:10) at new t ([email protected]:10) at (index):219
[Moderator note: Please try https://jobs.wordpress.net/ or https://jetpack.pro/ and do not accept any hire offers posted to these forums.]
Many thanks in advance for any pointers!
- The topic ‘Javascript issues when I convert my website to Wordpres’ is closed to new replies.