281 reputation
112
bio website brainalien.com
location United States
age 32
visits member for 1 year, 2 months
seen 11 hours ago
stats profile views 6

Father, Coder, Gamer


May
7
comment Large Number of Wordpress Posts
Sorry but what is a Lac? Thousand?
May
2
comment Downsides to not using built-in “Posts” post type?
I can't actually get this to work. Complains that remove_menu_page() is undefined. Would really like to get rid of Posts for the same reason as the original poster.
Apr
26
comment Display random image url from list of input values
@SharciaraniaAkbarAl-Gaadaafi You're welcome. Please show your thanks by voting up answers and/or choosing one of them as correct ;)
Apr
25
comment Custom post type isn't working
I would slowly build from a simple call to the more complex call, eliminating by process of elimination where the error lies.
Jan
23
comment How do I show data from gravity forms in my template?
gravityhelp.com/documentation/page/Developer_Docs
Jan
23
comment Vertical Sidebar Menu Parent and Child not displaying correctly
Without having a traditional horizontal menu, I believe you're going to need to use jQuery to achieve this. Which is slightly out of scope for this forum, but I would start here with search terms similar to these: stackoverflow.com/search?q=jquery+vertical+accordion+menu
Jan
23
comment Updating a custom field in a custom post type
It really should be the same. Is it not working? Have any example code? A custom post is still just a post essentially, and carries values in the post_meta table, just like a regular post.
Jan
17
comment wp_mail function timing out
Just wanted to point out that you would need to global $wpdb and then reference that object to make the (more or less) direct SQL call using $district_members_ids = $wpdb->get_col( $sql ); to get the IDs, then $district_members = get_users(array('include' => $district_members_ids)); to get the actual users. Thanks again @beporter.
Jan
16
comment wp_mail function timing out
Barring a couple typos, this is perfect. This posted in 4 seconds to 195 recipients. Thank you so much! I can't award you your whuffie for another 20 hours though. Will do tomorrow.
Jan
16
comment wp_mail function timing out
This is true. It is not wp_mail() after all, but is the expensive JOIN process of WordPress's complex SQL calls it seems...
Jan
16
comment wp_mail function timing out
It brings me no great pleasure to do this, but I must reopen this question as this is still timing out. There must be a problem in my code somewhere. If I send this to less recipients, it seems to work. But around 200 and it times out. I even tried using wpMandrill as an alternative to wp_mail, and the same story is true. I am using HostGator as host and have been through it with them. They claim no fault. Doesn't wp_mail() wait for a response? How come sometimes the messages sends to some people, and sometimes not at all?
Jan
10
comment gform_after_submission not working as expected
In case anyone finds this, a good way to break was to move the if(!empty()) part of the code up into the loop and add a break statement beneath it, so as soon as both variables are defined, it does the work and stops looking. Thanks again @webaware
Jan
10
comment gform_after_submission not working as expected
Nice. This is working now. I'm actually looking for payment_name in one field and payment_price in another. I suppose once both of these are defined I can abort. Thanks.
Jan
10
comment How to add to a user_meta field (append)
gravityhelp.com/documentation/page/Gform_pre_submission -- There we go
Jan
9
comment How to add to a user_meta field (append)
thanks. i realized this concept after i asked, but now just need to research how to get gravity forms to let me hook into it. have any ideas on that?
Dec
28
comment cannot update wordpress from 3.4.2 to 3.5
You might wish to uninstall WordPress and reinstall it. Be very careful if you choose to do this. Make a backup of everything. You'll want to save the wp-contents folder (especially the theme and upload), make note of the mysql username/password/path in wp-config.php. Install WP fresh and bring back in the wp-contents folder, using same database. Perhaps somehow your core files have become corrupt.
Dec
28
comment cannot update wordpress from 3.4.2 to 3.5
Do you have any caching plugins in use? Try to clear/disable those if so. Or try to clear your browser's cache or view from another browser. There is no error at all? How many times have you managed to update?
Dec
28
comment Want image captions to be from img ALT tags not title tags
Tried looking at the .js file here: mbigelowphotographer.com/wp/wp-content/plugins/nextgen-gallery/… which seems to be generating the navigation buttons and whatnot, but not seeing how it is pulling the title tags from the links. Good luck.
Dec
20
comment WP_User_Query to exclude users with no posts
@kaiser - thanks for cleaning up my code. I edited it to use the non-deprecated function. helgatheviking will still need to supply whatever arguments she wants to 'get_users()'.
Dec
19
comment WP_User_Query to exclude users with no posts
argh! my apologies. this was a function i wrote for a members based site. you can just use get_users() and pass whatever parameters you want to it: codex.wordpress.org/Function_Reference/get_users