- This topic is empty.
December 12, 2011 at 11:45 am #35603
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?
ThanksDecember 12, 2011 at 12:19 pm #92531TheDocMember
I would look at the template. Either index.php or blog.php – maybe something got changed. Did you update a theme or a plugin?December 12, 2011 at 12:27 pm #92533
Well, there is a missing closing after this paragraph:
The results of this test are available as a PDF download.
Home Energy Rating Certificate
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
PS: I don’t think the posts were ever enclosed in divsDecember 12, 2011 at 12:28 pm #92534
Sorry, the code got mangled: I meant a closing
and remove the two line breakDecember 12, 2011 at 12:33 pm #92535
No I didn’t change any php.
Do you know exactly what part adds divs around the post?
This looks normal.
I dont have a blog.php, maybe when I installed it was called single.php?December 12, 2011 at 12:37 pm #92536
Check your latest post as per my previous instructions! I think you messed up the html.December 12, 2011 at 12:37 pm #92537
Closing didn’t work.December 12, 2011 at 12:41 pm #92539TheDocMember
Well, if you didn’t change anything, I’m guess there were no divs around it in the first place?
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?December 12, 2011 at 12:51 pm #92520
Maybe you are right, looking back at the Starkers Naked theme there are none.
But yes, I was just adding and previewing a new post I was writing when I noticed the problem.December 12, 2011 at 1:15 pm #92540
Have a look at all my previous comments… you missed a closing paragraph tag.December 12, 2011 at 1:22 pm #92542
Paragraph tags are self closing. That has never been a problem on the blog. But I closed the first 3 post anyway.December 12, 2011 at 2:06 pm #92545SenffParticipant
Seems like each individual blog post should be wrapped in a container such as
…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?December 12, 2011 at 2:08 pm #92546SenffParticipant
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.December 12, 2011 at 2:52 pm #92552
Yea actually I dont think the post are separated in divs. My personal blog is built the same way and it is not separated into divs.December 12, 2011 at 2:53 pm #92553
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?
- The forum ‘Back End’ is closed to new topics and replies.