Do i need to change anything specific on that file for it to read from ms-options.php?
I can get it to create new pages, that's no problem, but i want to put content in the input box of the "options" in the super admin.
this is the second page i created:
// Health Product Kits Page
$second_page = __('This is the health product kits page');
if ( is_multisite() )
$second_page = get_site_option( 'second_page', $second_page );
$second_post_guid = get_option('home') . '/?page_id=3';
$wpdb->insert( $wpdb->posts, array(
'post_author' => $user_id,
'post_date' => $now,
'post_date_gmt' => $now_gmt,
'post_content' => $second_page,
'post_excerpt' => '',
'post_title' => __('Health Product Kits'),
/* translators: Default page slug */
'post_name' => _x('health product kits', 'Default page slug'),
'post_modified' => $now,
'post_modified_gmt' => $now_gmt,
'guid' => $second_post_guid,
'post_type' => 'page',
'to_ping' => '',
'pinged' => '',
'post_content_filtered' => ''
));
$wpdb->insert( $wpdb->postmeta, array( 'post_id' => 3, 'meta_key' => '_wp_page_template', 'meta_value' => 'default' ) );
That page will only display "This is the health product kits page" as if it wont go to the next line where the conditional satement tells it if its part of a multisite, display the variable that was inputed from the options page.