Blog Post Loop
-
Hello,
Recently i have started building my own site based on WordPress, i have never done this before so everything is new to me.
Two things that are wrong with my theme i already know, the header </div> needs moving to header.php and the navigation </div> needs moving to navigation.php this isn’t my problem.
If you look at my site i have a blog page https://oswestryweather.co.uk/blog/ i have attempted to get the loop to display all my posts here but for some reason it is not working.
The code i am using is seen here https://pastebin.com/P07fusqy, what i think the problem is that this <
?php while ( have_posts() ) : the_post(); ?>
is in the wrong place however when i move it nothing happens and it makes an error.Any help would be extremely gratefully received
- The topic ‘Blog Post Loop’ is closed to new replies.