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
<?php | |
/** | |
* Plugin Name: Bricks Typography | |
* Description: Adds support for Czech typography plugins for Bricks builder. | |
* Plugin URI: https://gist.github.com/adam-laita/01c088b986dac578ec0839d52bdbb8a5 | |
* Author: Adam Laita | |
* Author URI: https://www.laita.cz | |
* License: GNU General Public License v3 or later | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html |
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
<?php | |
// php library Simple HTML DOM Parser https://simplehtmldom.sourceforge.io/ (required) | |
require_once __DIR__ . '/simple-html-dom.php'; | |
// rewrites core-image block with custom HTML | |
add_filter( 'render_block', 'my_block_core_image', 10, 2 ); | |
function my_block_core_image( $block_content, $block ) { | |
// specify image block |
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
<?php | |
/* | |
Plugin Name: Auto Cloudinary - Defaults | |
Plugin URI: https://gist.github.com/TheALuminium/3f2fa9c773122c63e4de71a92e2196c2 | |
Description: A simple add-on that sets the recommended compression values and format for the Auto Cloudinary plugin. | |
Version: 1.0 | |
Author: Adam Laita | |
Author URI: https://www.laita.cz/en | |
License: GPL2 | |
*/ |