1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change domain mapping

Discussion in 'Web Development' started by LPH, Apr 28, 2012.

  1. LPH

    LPH Flight Director Flight Instructor

    Likes Received:
    735
    Donncha O Caoimh provides a wonderful WordPress MU domain mapping plugin. Unfortunately the admin panel for adding domains and site IDs only shows 20 blogs and the IDs are not sorted.

    Change line 204 of the domain_mapping.php file so that it reads as follows:

    Code (Text):
    1. $rows = $wpdb->get_results( "SELECT * FROM {$wpdb->dmtable} ORDER BY blog_id ASC LIMIT 0,100" );
    Now you can see as many as 100 blogs listed in ascending order.
     

Share This Page