First Theme Creation, Loop is Working with Pages But Not With Posts
-
Good Afternoon
This is my first post to the wordpress forum, I thank anyone and everyone in advance for their help.
On behalf of a friend, I have been converting a website from Joomla to WordPress. I’ve read up on the process as much as possible and have avoided asking questions for as long as possible, i’ve spent many hours working on this without resorting to the forum!
The basic issue is that the theme is pulling through pages, the navigation menu is working but I am struggling with posts.
I have a index.php file and have tried to create a content.php file and single.php file. I’ve tried to tweak the files from 2012 template, have read up on the web as much as possible and have seem to hit upon a brick wall.
Currently when I set the posts page to be ‘news’ then it pulled through the most recent post but did not pull through the tags, comments etc and did not pull through more than one post.
I’ve installed the posts in pages plugin and this has worked and the posts are now being pulled through. However the tag links do not work and the ‘add comments’ link do not work.
I clearly need to add more hooks or code to get the blog system working, would someone be able to point me in the right direction? I have read up on the loop and tried to look at working examples but have not been able to apply my reading to this theme.
Please refer to https://tinyurl.com/ojoaxlg. The news tab is currently a page that uses the post in pages plugin.
Many thanks again
Development14
- The topic ‘First Theme Creation, Loop is Working with Pages But Not With Posts’ is closed to new replies.