jupcan
jupcan

Reputation: 466

wordpress theme not showing posts

I'm just trying to apply a Wordpress theme to my website but it does not work as it should and I don't know why. Have tried to fix it but I ended up with nothing.

The theme is available on Github, it's 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 is how it should look like.

Any help would be much appreciated. Thank you very much!

Upvotes: 0

Views: 844

Answers (1)

pgk
pgk

Reputation: 1477

In your theme, in wp-content/themes/davehakkens-master/ inside js/ folder I can't find main.js file.

Original structure should be:

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

In your folder you have only plugins.js file but not the main.js

In this file there is function init, which should be the initial function of the plugin.

Look folder structure in the original theme or in github.

Upvotes: 2

Related Questions