WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Network Admin shows only the last 20 domains (4 posts)

  1. pixceed
    Member
    Posted 3 years ago #

    When I go to Domains in the Network Admin, it only shows me the last 20 entrys. No Pager, nothing. I know, I could just go to the Dashboards for that, but it would be nice, to handel the domains in the Network Admin.

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    For now you'll have to use the search at the top of the screen to find the domain(s) you are looking for.

  3. Ivaylo Draganov
    Member
    Posted 3 years ago #

    Or hack the plugin to increase the limit on the query (line 203):

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

    20 is the default limit, so change it to something that suits your needs

  4. Jason Lemahieu (MadtownLems)
    Member
    Posted 2 years ago #

    As long as you're making an update for 3.3 and add_site_option, possible to add something like... show 20 by default, but add a link to Show All.

    Perhaps it could just reload the page with &dm_show_all=true

    and remove the limit from the query if $_REQUEST['dm_show_all'] == true?

    Thanks again for the plugin. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic