367 reputation
1148
bio website
location
age
visits member for 3 years, 7 months
seen Dec 17 at 4:40

WordPress Consultant


Jan
21
comment Getting this code to work in Multisite
Still not working, updated the new version of the code I'm using above, can you check?
Jan
21
revised Getting this code to work in Multisite
added 1691 characters in body
Jan
21
comment Getting this code to work in Multisite
I'd like to remove the users of these blogs too, trying this code but it's not working, can you help? $users_to_keep = array( '1','4','43' ); $users = get_users( array( 'blog_id' => $val['blog_id'] ) ); // Remove all users except for the test site admins foreach ( $users as $user ) { if ( ! in_array( $user['ID'], $users_to_keep ) ) { wp_delete_user( $user['ID'] ); } }
Jan
20
accepted Retrieve a specific number of words from post_Content
Jan
20
comment Retrieve a specific number of words from post_Content
I guess I need a way of skipping the img tags altogether and counting only the words, so I won't get unbalanced tags.
Jan
18
asked Retrieve a specific number of words from post_Content
Jan
18
accepted Can I Prevent Enumeration of Usernames?
Jan
18
asked Having Multisite websites expire
Jan
13
awarded  Popular Question
Jan
2
comment Speed optimization on WP site, Remove query strings from static resources
I guess the most important question is whether I will see any speed improvements by doing this? If not I'd gladly leave things as they are.
Jan
2
accepted Speed optimization on WP site, Remove query strings from static resources
Jan
1
accepted Conditional loading of CSS for my plugin
Jan
1
asked Speed optimization on WP site, Remove query strings from static resources
Dec
30
asked Conditional loading of CSS for my plugin
Dec
28
accepted get_post_class() not working well
Dec
28
comment get_post_class() not working well
Got it, works now. We could also have used array_push() in this case I believe.
Dec
28
comment get_post_class() not working well
Added the code generating the classes.
Dec
28
revised get_post_class() not working well
added 1637 characters in body
Dec
28
asked get_post_class() not working well
Dec
21
accepted Getting this code to work in Multisite