JoshChris


Member since 07/06/2012

7 snippets

2802 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

JoshChris's Recent Snippets



« 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 1326 posted 9 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 1714 posted 9 years ago by JoshChris
Truncates the given string at the specified length.
1 1133 posted 11 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 1302 posted 11 years ago by JoshChris
Genius stuff right here from https://gist.github.com/BronsonQuick
1 2391 posted 11 years ago by JoshChris
Simple function to include in your script to enable multi-line text-overflow. See the jsfiddle (http://jsfiddle.net/eAyyL/) for details on the necessary CSS and HTML layout.
0 1280 posted 11 years ago by JoshChris
This is some code that creates an effect for jQuery Cycle to scroll up when you click the down button and down when you click the up button - like a scrollbar.
0 1214 posted 13 years ago by JoshChris
« Prev 1 Next »