Member list was not going past 20 entries.
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 24 Jun 2016 15:44:35 +0000 (11:44 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 24 Jun 2016 15:44:35 +0000 (11:44 -0400)
Was not showing paging links. Simply changed the entries per page to 50.

simple-wp-membership/methods.php
style.css

index 3d43934..248d872 100644 (file)
@@ -86,7 +86,7 @@ if ($haveSearch) {
 //     $query.=' ORDER BY ' . $orderby . ' ' . $order;
        $query.=' ORDER BY last_name, first_name ';
        $totalitems = $wpdb->query($query); //return the total number of affected rows
-       $perpage = 20;
+       $perpage = 50;
        $paged  = filter_input(INPUT_GET, 'paged');
        if (empty($paged) || !is_numeric($paged) || $paged <= 0) {
            $paged = 1;
index aa5a4ec..25bd373 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: WequetonsingAssociation
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for WequetonsingAssociation
-Version: 1.0.15
+Version: 1.0.16
 */