class-css-blocks-base-slot.php
1 week ago
class-css-blocks-export-selected-slot.php
1 week ago
class-css-blocks-export-single-slot.php
1 week ago
class-css-blocks-target-slot.php
1 week ago
class-premium-option-wrapper.php
1 week ago
class-premium-slot.php
1 week ago
class-slot-render-utility.php
1 week ago
class-css-blocks-target-slot.php
48 lines
| 1 | <?php |
| 2 | |
| 3 | namespace SuperbAddons\Components\Slots; |
| 4 | |
| 5 | defined('ABSPATH') || exit(); |
| 6 | |
| 7 | use SuperbAddons\Admin\Utils\AdminLinkSource; |
| 8 | use SuperbAddons\Components\Admin\InputCheckbox; |
| 9 | |
| 10 | class CssBlocksTargetSlot extends PremiumSlot |
| 11 | { |
| 12 | protected static $RenderFill; |
| 13 | protected function RenderSlot() |
| 14 | { |
| 15 | ?> |
| 16 | <div class="superbaddons-css-target-option"> |
| 17 | <?php new PremiumOptionWrapper(function () { |
| 18 | new InputCheckbox("superbaddons-css-block-target-input-blogpage", "blogpage-action", __("Blog page", "superb-blocks"), __("Applies CSS block to the blog page.", "superb-blocks")); |
| 19 | }, array(), AdminLinkSource::CSS_TARGET); ?> |
| 20 | </div> |
| 21 | |
| 22 | <div class="superbaddons-css-target-option"> |
| 23 | <?php new PremiumOptionWrapper(function () { |
| 24 | new InputCheckbox("superbaddons-css-block-target-input-pages", "specific-page-action", __("Pages", "superb-blocks"), __("Applies CSS block to one or more selected pages. Applies to all pages if none is selected.", "superb-blocks")); |
| 25 | }, array(), AdminLinkSource::CSS_TARGET); ?> |
| 26 | </div> |
| 27 | |
| 28 | <div class="superbaddons-css-target-option"> |
| 29 | <?php new PremiumOptionWrapper(function () { |
| 30 | new InputCheckbox("superbaddons-css-block-target-input-posts", "specific-post-action", __("Posts", "superb-blocks"), __("Applies CSS block to one or more selected posts. Applies to all posts if none is selected.", "superb-blocks")); |
| 31 | }, array(), AdminLinkSource::CSS_TARGET); ?> |
| 32 | </div> |
| 33 | |
| 34 | <div class="superbaddons-css-target-option"> |
| 35 | <?php new PremiumOptionWrapper(function () { |
| 36 | new InputCheckbox("superbaddons-css-block-target-input-blogpage", "archive-action", __("Archives", "superb-blocks"), __("Applies CSS block to archive pages including category, tag, author, date, custom post type, and custom taxonomy based archives.", "superb-blocks")); |
| 37 | }, array(), AdminLinkSource::CSS_TARGET); ?> |
| 38 | </div> |
| 39 | |
| 40 | <div class="superbaddons-css-target-option"> |
| 41 | <?php new PremiumOptionWrapper(function () { |
| 42 | new InputCheckbox("superbaddons-css-block-target-input-templates", "specific-template-action", __("Templates", "superb-blocks"), __("Applies CSS block to one or more selected page templates. Applies to all page templates if none is selected.", "superb-blocks")); |
| 43 | }, array(), AdminLinkSource::CSS_TARGET); ?> |
| 44 | </div> |
| 45 | <?php |
| 46 | } |
| 47 | } |
| 48 |