Skip to content

Commit

Permalink
Added offset option to custom post type source.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkunicki committed Oct 1, 2015
1 parent c537178 commit da8f4db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data_sources/wp/wp.php
Expand Up @@ -90,6 +90,7 @@ static function get_results($nsp, $amount_of_posts) {
$results = get_posts(array(
'post_type' => $post_types_list,
'numberposts' => $amount_of_posts,
'offset' => $offset,
'orderby' => $orderby,
'order' => $order
));
Expand Down

0 comments on commit da8f4db

Please sign in to comment.