Skip to content

Commit

Permalink
2024 Theme: Add courses grid to Course archive
Browse files Browse the repository at this point in the history
See #2396
  • Loading branch information
adamwoodnz committed May 29, 2024
1 parent 56fc00f commit c76ba85
Showing 1 changed file with 1 addition and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,7 @@

<!-- wp:query-title {"type":"archive","showPrefix":false} /-->

<!-- wp:query {"queryId":10,"query":{"perPage":6,"pages":0,"offset":0,"postType":"course","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"metadata":{"categories":["posts"],"patternName":"core/query-grid-posts","name":"Grid"}} -->
<div class="wp-block-query">

<!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
<div class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px">

<!-- wp:post-title {"isLink":true} /-->

<!-- wp:post-excerpt /-->

<!-- wp:post-date /-->

</div>
<!-- /wp:group -->

<!-- /wp:post-template -->

<!-- wp:query-no-results -->

<!-- wp:pattern {"slug":"wporg-learn-2024/query-no-results-course"} /-->

<!-- /wp:query-no-results -->

</div>
<!-- /wp:query -->
<!-- wp:pattern {"slug":"wporg-learn-2024/archive-courses-content"} /-->

</div>
<!-- /wp:group -->
Expand Down

0 comments on commit c76ba85

Please sign in to comment.