wordpress 主题不显示帖子

wordpress theme not showing posts

我只是想将 Wordpress 主题应用到我的网站,但它无法正常工作,我也不知道为什么。试图修复它,但我最终一无所获。

主题在 Github 上可用,this one but when aplying it to my site the main page does not show any post although I have lots of them. They have told me that the theme uses a javascript to load the posts but i don't know if that's the reason why the posts are not showing or not because I think I'm doing all as I should and not missing anything. This 应该是这样的。

如有任何帮助,我们将不胜感激。非常感谢!

在你的主题中,在 wp-content/themes/davehakkens-master/js/ 文件夹中我找不到 main.js 文件。

原始结构应该是:

/js
   /vendor/
   - plugins.js
   - main.js

您的文件夹中只有 plugins.js 文件,没有 main.js

这个文件里有function init,应该是插件的初始函数

在原始主题或github中查看文件夹结构。