Browse Source

rollback API to v1 until stable

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

+ 5 - 2
underscore.php

@@ -8,12 +8,15 @@
 						<% print( ( postDate.getMonth() + 1 ) + '/' + postDate.getDate() + '/' + postDate.getFullYear() ); %>
 					</time>
 			</div>
-			<h1 class="entry-title"><a href="<%= post.link %>" rel="bookmark"><%= post.title.rendered %></a></h1>
+			<!-- ************ 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>
 			<% if ( 'post' === post.type ) { %>
 
 			<% } %>
 		</header>
-			<%= post.content.rendered %>
+			<!-- <%= post.content.rendered %> -->
+			<%= post.content %>
 		<div class="clear">&nbsp;</div>
 		</div>
 	</article>