Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjorn Zschernack committed Jan 19, 2024
1 parent 6e25b11 commit 917e39e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template-parts/shortcodes/grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

<?php

$subpages = get_posts(
$subpages = get_pages(
array(
'parent' => $post->ID,
'posts_per_page' => '20',
'order' => 'DESC',
'orderby' => 'date',
'post_type' => 'page'
'sort_order' => 'DESC',
'orderby' => 'date'
)
);

Expand Down

0 comments on commit 917e39e

Please sign in to comment.