It looks like my wordpress blog post are no longer separated into separate divs. Like all the content is just thrown into the same div. What could have happened?
Another thing that's possible.... Since ALL posts are wrapped in a div with ID "blogPost" (singular!), perhaps your list of blog posts is using the wrong template? Maybe one that should only be used for single posts instead of a listing?
If you have a specific page that lists the posts and you can select a template in the admin, you may want to check there.
I noticed that if I put a clear float at the end of my post it fixes that post. Where would I insert that clear float in the PHP so that I dont have to place it at the end of every post?
I would actually just wrap them each in a div and then you can put the clear on the div itself. Would need to see your loop in action to provide you exact code instructions.
Since your original problem was "It looks like my wordpress blog post are no longer separated into separate divs", it would indicate that eacho post USED to be in a seperate, individual div, no?
Putting clear floats at the end of each posts may make look things good again, but that's not the solution to your problem -- it's more like a workaround. Like @TheDoc says, the way to fix this is to wrap each post in its own div.
Anyways, I'm a bit confused cause I'm not really sure what it's supposed to look like to be honest...
EDIT: If you add:
<div>
as the second line of code, and:
</div>
as the second-to-last line of code, each post would be wrapped in its own div already I think.
http://goodwynbuilding.com/blog/
Thanks
Try to correct that, if you have access to your html just remove the two
(that I cannot see in any other posts) and add a
Matteo
PS: I don't think the posts were ever enclosed in divs
Do you know exactly what part adds divs around the post?
This looks normal. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
I dont have a blog.php, maybe when I installed it was called single.php?
So you're saying you haven't changed ANYthing and then just out of no where you visited your site and it was screwed up?
But yes, I was just adding and previewing a new post I was writing when I noticed the problem.
...or something alike, but they're not. This is usually defined in loop.php I believe. Might want to check if that file has been updated recently?
If you have a specific page that lists the posts and you can select a template in the admin, you may want to check there.
Putting clear floats at the end of each posts may make look things good again, but that's not the solution to your problem -- it's more like a workaround. Like @TheDoc says, the way to fix this is to wrap each post in its own div.
Anyways, I'm a bit confused cause I'm not really sure what it's supposed to look like to be honest...
EDIT: If you add:
as the second line of code, and:
as the second-to-last line of code, each post would be wrapped in its own div already I think.