As far as I can tell, my code is fine, but what's happening is Wordpress is repeating my first post - title and date only - until it reaches the maximum execution time limit.
Completely stumped.
Here's the code: http://pastebin.com/m7a687bbf
As far as I can tell, my code is fine, but what's happening is Wordpress is repeating my first post - title and date only - until it reaches the maximum execution time limit.
Completely stumped.
Here's the code: http://pastebin.com/m7a687bbf
What theme are you using, and which file is that from?
I'm currently coding a theme. That's the index.php file.
I have to be honest and i say i've no idea.
I've copied pieces of your code for testing and it behaves as normal.
here:<?php if(have_posts()) : while(have_posts()) : the_post; ?> should be the_post();? (Don't know if this is the problem tho...)
lol, yes that could well be, well spotted, i missed that (i never copied the loop part)...
Well spotted mate! :)
A thousand thanks.
You must log in to post.