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
// is called by google docs when a document is open | |
// adds a menu with a menu item that applies a style to the currently selected text | |
function onOpen() { | |
DocumentApp.getUi() | |
.createMenu('Extras') | |
.addItem('Apply code style', 'applyCodeStyle') | |
.addToUi(); | |
} | |
var backgroundColor = "#DDDDDD"; |
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 | |
/** | |
* @param WP_Query|null $wp_query | |
* @param bool $echo | |
* @param array $params | |
* | |
* @return string|null | |
* | |
* UPDATE for Bootstrap 5.0: https://gist.github.com/mtx-z/af85d3abd4c19a84a9713e69956e1507 | |
* |