Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $type = mb_get_block_field('type');
- if ($type == 'spoiler') {
- $icon = 'plum-splat';
- } else {
- $icon = 'plum-i';
- }
- ?>
- <div class="notice p-4 mt-5 mb-4">
- <h3 class="txt-h3 notice_headline mt-2"><?php mb_the_block_field('headline') ?></h3>
- <div class="notice_content m-child-0">
- <?php mb_the_block_field('content') ?>
- </div>
- <span class="svg-bg svg-bg--<?=$icon?> notice_icon"></span>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement