2,512 reputation
1836
bio website
location Dallas, TX
age 32
visits member for 3 years, 9 months
seen 11 hours ago

Whats there to know? A simple Geek who loves sci-fi and always up for a good challenge to solve. Hope to ask a lot of questions and hopefully get to answer some as well!


Jan
28
comment Metabox date month number to word
@kaiser I didn't either. Google pwns all :p
Jan
21
comment How to query for a week using key => value WP_Query argument notation?
Are there enough posts for those links to show up?
Jan
20
comment How to query for a week using key => value WP_Query argument notation?
You mean the numbered page links on the bottom of the page?
Jan
12
comment Is it possible to use WP Query to orderby custom meta value and custom taxonomy?
There's no way to currently do an order by with taxonomies. Taxonomies are meant to group posts, anyway, so the WP developers haven't added that functionality in.
Dec
25
comment Best practices for meta box placement?
Fair enough. Thanks for the explanation on which setting does what in add_meta_box.
Nov
26
comment Search everything (posts, pages, tags, cpt, meta)
Didn't know about like_escape. I'll need to remember that.
Nov
25
comment Why is wp_enqueue_script not loading included jquery ui scripts?
Don't forget that you'll also need to load any individual jQuery UI plugins that you need, as shown here: codex.wordpress.org/Function_Reference/…
Nov
15
comment Modify the structure of data returned by $wpdb
Well, technically the second option only needs 2 queries. Also I made a correction in the answer. I suggest you use the new answer.
Oct
29
comment Which filter/action hook gets triggered after a query has been performed?
Thanks for the quick response.
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Glad I was able to help
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Check new solution, see if that works
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
I'm assuming that this is a custom plugin option page?
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
okay, give me a sec and let me see what I can find out. By the way, is this php file in a plugin or function file?
Oct
14
comment $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Okay, I see why. You are calling this php file without loading WordPress at all. That's why $wpdb and add_action are unavailable. I added an include to wp-load.php, which should sole the problem.
Oct
4
comment Where does the gallery shortcode gets its attachments from?
Oh, they are? Some more research to do. Thank you again, @kaiser
Oct
4
comment Where does the gallery shortcode gets its attachments from?
As I thought. Thanks for the clarification. So basically galleries are just images that are attached to a post; 1 gallery per post and since images are children to a post, you can only really attach the images to just one post at a time.
Oct
4
comment Where does the gallery shortcode gets its attachments from?
@kaiser good point. I'm working on a gallery/album plugin and I'm doing research on how WordPress currently handles them.
Sep
10
comment When should you use WP_Query vs query_posts() vs get_posts()?
so, if its so bad, why does query_posts exist?
Sep
5
comment custom field to always to .get_the_title()?
@amit which is why I did a check for that custom field he is using as the subtitle. If the post doesn't have it, the title isn't effected.
Sep
5
comment custom field to always to .get_the_title()?
Didn't realize it took arguments like that. Pretty sweet.