[wp-hackers] try to use offset argument in get_page function
czArte de la Praga
czarte at gmail.com
Thu May 5 10:02:22 UTC 2011
Hi, I`m trying use the get_page function with argument offset and that don`t
working. Am I doing something wrong?
$args = array(
'child_of' => 738,
'sort_order' => 'DESC',
'sort_column' => 'ID',
'hierarchical' => 1,
'parent' => -1,
'offset' => $offset,
'post_type' => 'page',
'post_status' => 'publish'
);
$pages = get_pages($args);
WP Version 3.0.4
plugins:
AJAX Login Widget++ - 1.0.1
Content and Excerpt Word Limit - 1.0
CSV Importer - 0.3.3
eShop for Wordpress - 5.0.4
Google Analyticator - 6.1.1
Google XML Sitemaps - 3.2.4
Lightbox 2 - 2.9.2
Live Blogroll - 0.1
Live Sidebar - 0.1
Newsletter - 1.5.9
Share On Facebook - 1.6
ThickBox - 1.5
WordPress Importer - 0.2
WP-Paginate - 1.2.2
More information about the wp-hackers
mailing list