70 reputation
5
bio website
location
age
visits member for 2 years, 5 months
seen Feb 15 '13 at 10:06

Aug
12
comment can i run wp as root permissions
right. BUt the problem is anything i run as root again takes the owner and group of root. so if i git pull as root, then the file i pull in becomes root. on ServerFault i asked this and someone said i just need to run as user and sudo. seems so.
Dec
14
comment Set a default page template to load for multi-site
Thanks! Probably will just use the plugin "default blog" as an overall solution but very handy code above, appreciated!
Dec
6
comment How can I call a PHP function inside a hardcoded shortcode?
ya it works!! BUT ive had to change get_current_site to get_current_blog_id after much confusion why it was always showing the parent ID.
Dec
2
comment Set my own password when registering a multisite user or site
thanks, i did ponder that idea but we are trying to custom code alot. maby ill report back here what we found.
Nov
28
comment Auto create pages on WordPress multi site register
sorry if my comment is inclear...just wondering if there is a cleaner way to do this then dropping it in functions.php, or is that what you are ultimately suggesting?
Nov
28
comment Auto create pages on WordPress multi site register
great, but still a little bit over my head...but maby i did it anyway! I went in Function.php (in the theme) and added code from update.php (seems i dont have character allowance here to post in code but some is ` if ( is_multisite() ) $first_page = get_site_option( 'first_page', $first_page ); $first_post_guid = get_option('home') . '/?page_id=2'; $wpdb->insert( $wpdb->posts, array( 'post_author' => $user_id, `