2,567 reputation
1838
bio website
location Dallas, TX
age 32
visits member for 3 years, 11 months
seen 17 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!


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
revised $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
added 46 characters in body
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
14
answered $wpdb not being defined in function: Fatal error: Call to a member function query() on a non-object
Oct
8
revised wp_enqueue_script won't load in header?
Spelling in the title
Oct
8
suggested approved edit on wp_enqueue_script won't load in header?
Oct
7
accepted Nonce best practices: hidden input vs. wp_localize_script?
Oct
7
asked Nonce best practices: hidden input vs. wp_localize_script?
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
accepted Where does the gallery shortcode gets its attachments from?
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
revised Where does the gallery shortcode gets its attachments from?
edited title
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.
Oct
4
asked Where does the gallery shortcode gets its attachments from?
Sep
25
answered Programmatically insert hierarchical terms & set terms for post causes glitch?
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
7
answered How can i display 3 post types in same page?
Sep
6
answered Need to add rewrite rule that adds in additional information about the post to url
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.