Created
June 8, 2015 23:20
-
-
Save magician11/7cecd8bbf401a934bf35 to your computer and use it in GitHub Desktop.
Iterating over WordPress articles in AngularJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Recent articles (using Zurb's Foundation framework) --> | |
<section class="row"> | |
<h3 class="ag-section-heading"><i class="fa fa-pencil"></i> Recent articles</h3> | |
<ul class="medium-block-grid-3"> | |
<li ng-repeat="wpArticle in ag.wpFeed"> | |
<h4>{{wpArticle.title}}</h4> | |
<p>{{wpArticle.contentSnippet}} <a ng-href="{{wpArticle.link}}">read more</a></p> | |
</li> | |
</ul> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment