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 | |
return array( | |
'router' => array( | |
'routes' => array( | |
'contact' => array( | |
'type' => 'Literal', | |
'options' => array( | |
'route' => '/contacts', | |
'defaults' => array( |
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
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ct %cr | %h %s" $branch | head -n 1` \| $branch; done | sort -r |
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
checkboxes = document.getElementsByName("checkableitems[]"); | |
for (i=0;i<checkboxes.length;i++) { | |
var checkbox = checkboxes[i]; | |
if (checkbox.type == "checkbox" && !checkbox.checked ) { | |
checkbox.click(); | |
} | |
}; |
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 myLoginLogo() { | |
?> | |
<style type="text/css"> | |
.login h1 a { | |
height: 82px; | |
background-size: auto; | |
background-image: url('<?=get_template_directory_uri();?>/img/logo-login.png'); | |
} | |
</style> | |
<?php |
NewerOlder