DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Wordpress HTML Outline

11.02.2006
| 3461 views |
  • submit to reddit
        // Basic HTML structure for a wordpress page
<body>
	<div id="wrap">
		<div id="top">
		</div>

		<div id="content" class="single">
			<div class="post-wrap" id="post-6">
				<h1 class="post-title">The Title Of Your Post</h1>
				<div class="story-content">
				</div>
				
				<div class="metawrap">
				</div>
			</div>

			<div id="commentwrap">
				<h3 id="respond">Leave Your Comment</h3>
				<form>
				</form>
			</div>
		</div>

		<div id="side">
			<ul>
				<li><!-- One side bar item --></li>
			</ul>
		</div>

		<div id="bottom"></div>
		
	</div><!-- end wrap -->
</body>