On a recent blog project, I had to output the tags for an post. I kept thinking the function would be like the_tags or something like that, but tags are referred to as "terms" in this case apparently. So, use this function: wp_get_post_terms()
Tag: Functions
Date Query for WP 3.7
I figure by this point all the hype for WP 3.7 has died down. So now we can get into the practical uses of some of the new dev features like the date query.
A List of Commonly Unknown WP Function
Elliott from Laser Red wrote a round up of helpful WordPress functions that you don't usually read about: get_post_field wp_list_pluck antispambot checked/selected body_class human_time_diff wp_send_json_success/error wp_remote_get/post get_template_part If you're a WordPress dev, I really suggest you check out this article, because he gives an explanation and code example for each one of these in an a quick, … Continue reading A List of Commonly Unknown WP Function
A function to use remove_action conditionally in your WordPress templates
Thanks to Jonathan Perez for this little function to use remove_action conditionally. Helped when I was working on a WooCommerce project.
WP Seek WordPress Search Engine API
I was happy to stumble across the site wpseek.com, which works as an all things WordPress search engine. What really impressed me though is their API, which let's you do things like get specs on a specific function or a list of all WP functions. For example using the following URL http://api.wpseek.com/?method=wordpress.getfunction&s=the_title will return a … Continue reading WP Seek WordPress Search Engine API