I made one wordpress theme for movie websites. The home page have multiple loops, first shows the most recent movies added, second most viewed movies, and 4g iphone most ranked movies. The outcomes of those loops derive from database saved values.

Now i attempt to create each loop, a custom page where they ought to perform the same job as on home page, but each loop may have their very own page, with 20 movie posters, and also the pagination from page-navi wordpress plugin at the end, i am wondering if this sounds like really easy to do and just how loop need to look like, i attempted million occasions already and absolutely nothing.

My query for many viewed movies on home page may be the following:

 <?php $home_query = new WP_Query ("showposts=15&v_sortby=views&v_orderby=desc"); while ( $home_query->have_posts() ) : $home_query->the_post() ?>

Just how can integrate this question on the custom wordpress page and obtain the outcomes paginated by page-navi wordpress plugin. What should my loop seem like?