templates - Custom Wordpress Post Page Breaks if More Than 2 Posts? -


I have a very custom template, and 1 or 2 posts on the blog page, so it works great . But as soon as a third post is added, the structure of the template changes ... literally transmits a div inside the other and I do not understand why the code of the blog template is here, and the structure One should be like a screenshot and the second will be the third position when it displays the wrong location. Can it make any sense, any ideas?

; Div class = "post" id = "? Post" & lt; php the_ID (); & gt ;? " & Gt; & Lt ;! - Start Post - & gt; & Lt; H2 & gt; & Lt ;? Php the_title (); ? & Gt; & Lt; / H2 & gt; & Lt; Div id = "main_full" class = "clearfix" & gt; & Lt ;! - Startup main - & gt; & Lt; Div id = "top_bar" & gt; & Lt; H3 class = "gallery-title" & gt; News & lt; / H3 & gt; & Lt; / Div & gt; & Lt; Div id = "blog_page" & gt; & Lt ;! - Start blog page - & gt; & Lt; Div class = "entry" & gt; & Lt ;! - Initial entry - & gt; & Lt ;? Php the_content (); ? & Gt; & Lt; / Div & gt; & Lt ;! - End Entry - & gt; & Lt; / Div & gt; & Lt ;! - End blog page - & gt; & Lt; / Div & gt; & Lt ;! - End main - & gt; & Lt ;? Php timeline; end if; ? & Gt; & Lt; / Div & gt; & Lt ;! - End post - & gt; & Lt ;? Php edit_post_link ('Edit this entry.', '& Lt; p & gt;', '& lt; / p & gt;'); ? & Gt; & Lt ;? Php comments_template (); ? & Gt; Without seeing the start of your loop, I can not believe 100%, but it seems that you have to:  
   

be

  & lt; / Div & gt; & Lt ;! - End post - & gt; & Lt ;? Php timeline; end if; ? & Gt;  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -