• Resolved btippet

    (@btippet)


    Hey,

    I have a HEAP of artists and I can’t go in to edit them because it times out.

    Can change it to show only 50 a page or something?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @btippet

    Pagination has been removed from the artist page to allow single-page AJAX reordering.

    If you would rather have pagination back, then you can do the following:

    Edit this file:
    wp-content/plugins/gigpress/admin/artists.php

    On line 105 there is a section commented out, which looks like this:

    /*		Removed pagination to allow for single-page AJAX reordering. Complaints might bring it back?
    		if($artists) {
    			$pagination_args['page'] = 'gigpress-artists';
    			$pagination = gigpress_admin_pagination(count($artists), 20, $pagination_args);
    			if($pagination) {
    				$artists = array_slice($artists, $pagination['offset'], $pagination['records_per_page']);
    				echo $pagination['output'];
    			}
    		}
    */

    Just remove the starting and ending /* and */

    On line 177 remove the comment // from here:

    <?php // echo $pagination['output']; ?>

    Let me know if this helps.

    Cheers,
    Andras

Viewing 1 replies (of 1 total)
  • The topic ‘Lots of Artists – times out’ is closed to new replies.