diff --git a/themes/jquery.com/page.php b/themes/jquery.com/page.php deleted file mode 100644 index 023587ed..00000000 --- a/themes/jquery.com/page.php +++ /dev/null @@ -1,4 +0,0 @@ -
+ 'page', 'category_name' => $category, 'posts_per_page' => -1, - 'orderby' => 'title', + 'orderby' => $orderby, 'order' => 'ASC' ) ); } -function jq_page_links_for_category( $category ) { +function jq_page_links_for_category( $category, $orderby = 'title' ) { + global $post; $ret = ''; - foreach ( jq_pages_for_category( $category ) as $post ) { - $ret .= '