This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am zachwood on github. | |
* I am zachwood (https://keybase.io/zachwood) on keybase. | |
* I have a public key whose fingerprint is BD4F 81B9 241C 7AD8 71A1 5AAD 77C9 0978 3216 CD54 | |
To claim this, I am signing this object: |
This file contains 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
/** | |
* Determine node template overwrites | |
* | |
* @param array $vars | |
* @param string $hook | |
*/ | |
function THEME-NAME_preprocess_node(&$vars, $hook) { | |
switch ($hook) { | |
case 'node': |
This file contains 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
$('#next, #prev').on('click', function () { | |
whateverTheInfowindowis.close(); | |
}); |