Profile
Achievement
chasecrawford's Recent Snippets
- All /
« Prev 1 Next »
A simple widget for displaying a single post in a dynamic sidebar. Originally developed to accommodate a WP user who wanted full control of which posts were displayed and what order they were on a certain page.
0
829
posted 11 years ago by chasecrawford
This is a callback example that can be used to conditionally display blocks on specific pages. In this example, I load all nodes with a specific field and return false if the value of that field is equal to the user id of the logged in user. The sni...
0
772
posted 12 years ago by chasecrawford
Use this no-conflict wrapper instead of the default ready function in JQuery to initialize scripts in your Drupal 7 theme
0
793
posted 12 years ago by chasecrawford
A function to query the 10 most recent posts on a multisite WordPress installation
0
1885
posted 12 years ago by chasecrawford
Very helpful function for sorting multi-dimensional arrays
0
994
posted 12 years ago by chasecrawford