Skip to content

Commit

Permalink
Add index and header patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng committed Dec 12, 2023
1 parent 77934db commit b7a1997
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions allez/patterns/header-with-sticky-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: hidden
* Inserter: no
*/

declare( strict_types = 1 );
?>
<!-- wp:query {"queryId":1,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"only","inherit":false}} -->
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"default"}} -->
Expand Down
2 changes: 2 additions & 0 deletions allez/patterns/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: hidden
* Inserter: no
*/

declare( strict_types = 1 );
?>
<!-- wp:template-part {"slug":"header-with-sticky-post","tagName":"header","align":"full"} /-->

Expand Down

0 comments on commit b7a1997

Please sign in to comment.