Loading order of WordPress templates
-
I have always been under the impression that a WP theme with a side bar on theleft would load that code first then the content. If the theme had a right displayed sidebar it would load after the content.
I currently run WP 1.5.1 useing the Rin theme. My left sidebar is in this order:
Day by Day script and cartoon
Recent comments
Miniblog
Pages
Categories, etc etc.Here is the scenario that has me confused.
Twice I have posted an entry, as recent as last night, and when the index page loaded it stopped after the Day by Day cartoon, with a blank content area and no footer.
I assumed either the Day by Day script or recent comments just below it failed in some way and stopped the entire page from loading.
To verify this I commented out Day by Day. Then the page stopped loading after recent comments. I had the same results when I commented outrecent comments, the page stopped loading after Miniblog.
Riddle me this? I solved the problem in both cases by deleting the post I had just entered prior to the problem occuring.
So tell this sorry assed coder why if a left sidebar template loads first, then the content, then the footer why would a posted entry stop the sidebar, in addition to all the content and footer from loading?
Oh… the entry? Dammed if I know whats wrong with it! You can see it here. Please ignore the opening and closing PHP code, that’s entered by the Paste bin service.
- The topic ‘Loading order of WordPress templates’ is closed to new replies.