Viewing 3 replies - 1 through 3 (of 3 total)
  • The plugin author should add pagination and the ability to change how many domains display at once. You can hack the plugin a little bit inside WP by going to this URI:

    /wp-admin/plugin-editor.php
    or
    /wp-admin/network/plugin-editor.php (if using MultiSite)

    Here is the file you’d want to edit, on line 192: /wordpress-mu-domain-mapping/domain_mapping.php

    Here is the line:

    $rows = $wpdb->get_results( "SELECT * FROM {$wpdb->dmtable} ORDER BY id DESC LIMIT 0,20" );

    Notice that number 20 at the end? Set that to 100 and now you can see up to 100 domains at the same time. Just keep in mind, the more you have and the higher you put that number the slower the page will load.

    I’m going to look into getting the plugin updated to be more user friendly in this regard although I don’t personally control the code itself.

    Thanks Mike — your work-around worked for me, except I also had to change ‘ORDER BY id’ to ‘ORDER BY blog_id’ on my multisite network to get it to sort correctly. Hope there is some permanent fix for this soon.

    Having the same issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No pagination?’ is closed to new replies.