3,022 reputation
11143
bio website
location Dallas, TX
age 33
visits member for 4 years, 7 months
seen 16 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!


Jul
16
comment How to order posts by meta value?
Fixed. Try it now
Jun
25
comment Sort by manipulated meta_key
Also word of advice: don't use query_posts: wordpress.stackexchange.com/questions/1753/…
Jun
24
comment Order By Multiple Meta Fields
@PieterGoosen No Problem and thanks for the edit.
Jun
24
comment Why does get_the_time('F j') return November 30 for all posts?
@toscho was just reusing his code. Thanks for the catch.
Jun
24
comment Order By Multiple Meta Fields
As of WP 4.2, you can sort by multiple meta keys and values. Whipping up an answer that shows this
Jun
24
comment Why does get_the_time('F j') return November 30 for all posts?
Edited with some info to how and why this works.
Jun
24
comment Why does get_the_time('F j') return November 30 for all posts?
Just posted an answer with the proper usage of get_the_time
Jun
24
comment Why does get_the_time('F j') return November 30 for all posts?
You aren't putting it in a WP_Query loop. get_the_time is only designed to work either in the main WordPress loop or a custom loop using WP_Query
Jun
23
comment Why does get_the_time('F j') return November 30 for all posts?
It's because you're not using it in a WordPress loop
Jun
22
comment Execute action after post is saved with all related post_meta records (data)
Is the post meta saved in the same function?
May
28
comment query_posts adding extra code to homepage
Which template file is this?
May
27
comment Attachment Filter not displaying correctly in Media Uploader
It seems to be a bug in the css for that select. I'm looking to see if there isn't a ticket for it and if not create one myself.
May
25
comment How do I override the_excerpt so that it will display full content?
That works, too, except you'd want to use get_the_content, since you are trying to return something. Edit: looking at it now, probably not a good idea, since the excerpt gets inputted in as an argument.
May
25
comment Delete attachment script
it should be jQuery(".post wp_delete_attachment").remove();
May
25
comment Get url of selected gallery images?
Another option is img.get('url')
May
25
comment WordPress the_content Page Load
Try echoing the question-no field. It could be that WordPress is filtering it out.
May
20
comment Custom taxonomy page template
endif and endwhile should be reversed. They're in the wrong order in your code. The while is in the if, so is should be endwhile; endif;
May
18
comment update_post_meta based on acf repeater field
Sorry, misread the code.
May
18
comment How to remove an Ajax action
What hook are you using to remove the action? It could be that you're hook isn't loaded when the AJAX is called.
May
17
comment get current post id inside hook
that should work the same way.