admin管理员组文章数量:1320847
I have been pulling my hair out for the past couple days trying to fix an issue that I simply can't seem to get around.
I've provided a file containing 4 files. The steps below will create an environment similar to mine, to replicate the problem.
- install inbox theme in Wordpress (found in folder '1 - themes') and activate it
- install the plugin Advanced Custom Field (folder '2 - plugins') and activate it
- In Advanced Custom Field, import Advanced Custom Field file provided in folder '3 - acf content'
- In tools, import posts into wordpress from folder '4 - wp posts'
We now have the same environment.
If you click on an article in the sidebar, you'll see the right pane update with the article you clicked on. A read more button also appears.
If you click on read more, it will take you to a new page. On this page, you will see graphs displayed.
This is the problem: for some reason, I cannot display on the graphs on the preview pane (the one with the "Read More" button). I have tried everything, but the Javascript is simply not being injected into the preview pane page, whereas it is in the single post page, and yet they both get their content from the same file, "content-single.php".
I would massively appreciate any help, as this is driving me crazy. Thanks a lot
本文标签: pluginsJavascript not getting injected into page
版权声明:本文标题:plugins - Javascript not getting injected into page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742088727a2420136.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论