FEATURE: add basic template for dobrotyzpece.cz
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace Templates\DobrotyZPece\Shortcodes;
|
||||
|
||||
class Column {
|
||||
public function register($shortcode, $content, $compiler, $name) {
|
||||
$content = str_replace('<div>', '', $content);
|
||||
$content = str_replace('</div>', '', $content);
|
||||
$code = '<div class="col s12 m4">
|
||||
' . $content . '
|
||||
</div>';
|
||||
|
||||
return $code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user