2,337 reputation
1630
bio website
location Dallas, TX
age 31
visits member for 3 years, 3 months
seen 5 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!


Feb
27
comment How To Set Custom Post Type Title Without Supports
@s_ha_dum because instead of recreating the UI and data queries from scratch, he can piggy back off of WP's UI and add his/her own spin. I think of CPT's as data objects you can augment via meta data and taxonomies, which is what he's doing. They aren't just posts, at least not anymore.
Feb
27
comment How To Set Custom Post Type Title Without Supports
@s_ha_dum I beg to differ. Custom post types are flexible enough where you can have them be whatever you want, with the right plugins and/or code
Feb
25
comment Using Underscore Templates in WordPress
headspring.com/tim/an-underscore-templates-primer. WP is currently using them in their media models for their views. Basically, they are reusable snippets of HTML you can autopoulate with JSON data, like from an AJAX response. WP has them wrapped in script tags near the end of the admin page and I wanted to know how how to get them there and @EugeneManuilov's answer put me in the direction I needed by using admin_footer
Feb
25
comment Using Underscore Templates in WordPress
@ChipBennett I'm not asking how to enqueue underscore, I'm asking how to include the templates in the page. The question you point to doesn't say anything about that, so I don't understand how this is a duplicate
Feb
25
comment Using Underscore Templates in WordPress
Can you load an Underscore template from an external file via a script tag?
Feb
25
comment Using Underscore Templates in WordPress
Technically you're both right. My fault for posting a question while half asleep.
Feb
1
comment Using only %postname%
The issues with just postname were resolved a few versions ago, so that article is a bit outdated
Jan
30
comment How do I use add_action from a class method?
@toscho thanks for the tip!
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?