Browse Source

update underscore wp-api2

windhamdavid 8 years ago
parent
commit
9840057879
1 changed files with 2 additions and 5 deletions
  1. 2 5
      underscore.php

+ 2 - 5
underscore.php

@@ -10,15 +10,12 @@
 					</time>
 					</time>
 					<span class="author vcard"><span class="fn">David A. Windham</span></span>
 					<span class="author vcard"><span class="fn">David A. Windham</span></span>
 			</div>
 			</div>
-			<!-- ************ Replace these with the WP-APIv2 when it's out of beta *************** -->
-			<!-- ><h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title.rendered %></a></h1> -->
-			<h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title %></a></h1>
+			<h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title.rendered %></a></h1>
 			<% if ( 'post' === post.type ) { %>
 			<% if ( 'post' === post.type ) { %>
 
 
 			<% } %>
 			<% } %>
 		</header>
 		</header>
-			<!-- <%= post.content.rendered %> -->
-			<%= post.content %>
+			<%= post.content.rendered %>
 		<div class="clear">&nbsp;</div>
 		<div class="clear">&nbsp;</div>
 		</div>
 		</div>
 	</article>
 	</article>