[wp-hackers] Pagination & Custom Table (not posts)
BenderisGreat
greglancaster71 at gmail.com
Tue Feb 18 19:00:12 UTC 2014
I am almost done with my first plugin, largely thanks to the help I have
received here (*Nikola* & *JD* specifically). One of the last things I want
to implement is pagination. I read about query_posts
<http://codex.wordpress.org/Function_Reference/query_posts> , and I see
that if you are working with a custom post type, really anything thats
within wordpress by default- you can paginate that automatically using the
'paged' parameter.
Is it possible to also use the built into pagination on table data that is
not a post? I assume this is a NO, and if I am right- how would a person go
about implementing paged results for a custom table? The obvious route in
my mind is to register the query_var 'page', query $wpdb with a pageLimit
and all that.
But, Maybe its possible wordpress offers a solution for this so a person
wont need to do all that?
--
View this message in context: http://wordpress-hackers.1065353.n5.nabble.com/Pagination-Custom-Table-not-posts-tp43372.html
Sent from the Wordpress Hackers mailing list archive at Nabble.com.
More information about the wp-hackers
mailing list