Limit number of gift cards shown in the admin area

By default, we load 500 cards at a time. There is a “Load More” button displayed to continue loading more products.

On some systems this can still be too many records at once so you can adjust this number by taking the following steps:

1. Download the wp-config.php from your FTP server.
2. Keep a backup of wp-config.php in case there are problems.
3. Edit wp-config.php and scroll to the end and add the following bit of code:

Scroll towards the bottom, and before the line that says “Happy blogging.” add this code ABOVE that line:

define( 'PWGC_ADMIN_MAX_ROWS', 250 );

/* That's all, stop editing! Happy blogging. */

4. Save the wp-config.php file and re-upload it to your server.

Adjust the “250” value to suit your needs.

If you have any problems, replace wp-config.php with your backup file.

Skip to content