This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
$("ul.dropdown li").hover(function(){ | |
$(this).addClass("hover"); | |
$('ul:first',this).css('visibility', 'visible'); | |
}, function(){ | |
$(this).removeClass("hover"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$client_id = "xxx"; //your client-id here | |
$tag = "kittens"; //your tag here | |
$cachefile = "instagram_cache/$tag.cache"; | |
if (file_exists($cachefile) && time()-filemtime($cachefile)<3600) { | |
$contents = file_get_contents($cachefile); | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* HIDE THE WORDPRESS UPDATE NOTIFICATION (FOR ALL USERS EXCEPT SYSADMIN) | |
* | |
**/ | |
global $user_login; | |
get_currentuserinfo(); | |
if (!current_user_can('update_plugins')) { // checks to see if current user can update plugins | |
NewerOlder