Profile
Achievement
JoshChris's Recent PHP Snippets
- All /
« Prev 1 Next »
Too many revisions taking up space in your database? Use this script to find which posts have more than 10 - and then you can figure out what to do with them.
0
900
posted 8 years ago by JoshChris
A quick query example for a wordpress database query that gets posts ordered by distance via the custom fields `latitude` and `longitude`.
0
1082
posted 8 years ago by JoshChris
Get all custom taxonomies that are attached to posts that have another custom taxonomy. Like fetching all categories that are attached to products that have the brand taxonomy "Nike".
0
915
posted 10 years ago by JoshChris
Genius stuff right here from https://gist.github.com/BronsonQuick
1
777
posted 10 years ago by JoshChris