admin管理员组文章数量:1326081
i have installed wordpress 5.4 installed and i create a ecommerce website in woocommerce, I've been having a problem for a long time that in my entire site i see a bug text appear on my top of page. and i see it in view source and see that the text appear on before tag. i attach the screenshot the bug text. Please let me know how to remove this.
i have installed wordpress 5.4 installed and i create a ecommerce website in woocommerce, I've been having a problem for a long time that in my entire site i see a bug text appear on my top of page. and i see it in view source and see that the text appear on before tag. i attach the screenshot the bug text. Please let me know how to remove this.
Share Improve this question asked Aug 11, 2020 at 6:11 Mohammed Saquib QureshiMohammed Saquib Qureshi 12 Answers
Reset to default 1you've probably enter that one in one of your file in your themes try using notepad++ to locate the 'dis' text
There is almost certainly some extraneous text "dis" that appears outside the PHP tags in a file somewhere. If you have not customised anything, the simplest solution might be to reinstall your theme with the original code.
Otherwise, there is no way to know which file this text is in, by looking at the screenshot. If you say it is on every page, then it's likely in the header.php or footer.php or some other template partial that is loaded on every page. But it could also be in a plugin somewhere. Do you get the same text if you try the default theme (Twenty Twenty)? If so, then the extraneous text is probably in a plugin. You could deactivate all plugins and turn them back on, one by one, to see which one it is.
As Kenneth suggested, you'll need to search through all your files to find it. Notepad++ and VSCode (and I'm sure many other decent text editors) have ways to search through all files at once. In Notepad++, for example, Ctrl+Shift+F will search for text in all (specified) files in a directory. This would be easier (and simpler) than deactivating your plugins and checking them one-by-one. However, sometimes searching through directories like this can take a long time and it can look like the editor has hung (especially if there are many node_modules folders), so just leave it to search and come back later.
本文标签: woocommerce offtopicHow to remove unwanted text bug in wordpress site
版权声明:本文标题:woocommerce offtopic - How to remove unwanted text bug in wordpress site 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742195346a2430977.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论