Skip to content

Instantly share code, notes, and snippets.

@shadyvb
Created May 15, 2014 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shadyvb/b7b623993364bc1da51b to your computer and use it in GitHub Desktop.
Save shadyvb/b7b623993364bc1da51b to your computer and use it in GitHub Desktop.
Bring up functions in theme files to the top in Webgrind
jQuery('a[title=Open file]').filter( function() { return jQuery(this).attr('href').match(/www\/wp-content\/themes\/vip\/shaw-globalnews\//) ; } ).each( function(){ jQuery(this).parents('tr').eq(0).prependTo( jQuery('table#function_table tbody') ); } )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment