class-css-blocks-base-slot.php
1 year ago
class-css-blocks-export-selected-slot.php
1 year ago
class-css-blocks-export-single-slot.php
1 year ago
class-css-blocks-target-slot.php
1 year ago
class-premium-option-wrapper.php
1 year ago
class-premium-slot.php
1 year ago
class-slot-render-utility.php
1 year ago
class-css-blocks-target-slot.php
35 lines
| 1 | <?php |
| 2 | |
| 3 | namespace SuperbAddons\Components\Slots; |
| 4 | |
| 5 | defined('ABSPATH') || exit(); |
| 6 | |
| 7 | use SuperbAddons\Components\Admin\InputCheckbox; |
| 8 | |
| 9 | class CssBlocksTargetSlot extends PremiumSlot |
| 10 | { |
| 11 | protected static $RenderFill; |
| 12 | protected function RenderSlot() |
| 13 | { |
| 14 | new PremiumOptionWrapper(function () { |
| 15 | new InputCheckbox("superbaddons-css-block-target-input-blogpage", "blogpage-action", __("Blog page", "superb-blocks"), __("Applies CSS block to the blog page.", "superb-blocks")); |
| 16 | }); |
| 17 | |
| 18 | new PremiumOptionWrapper(function () { |
| 19 | 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")); |
| 20 | }); |
| 21 | |
| 22 | new PremiumOptionWrapper(function () { |
| 23 | 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")); |
| 24 | }); |
| 25 | |
| 26 | new PremiumOptionWrapper(function () { |
| 27 | 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")); |
| 28 | }); |
| 29 | |
| 30 | new PremiumOptionWrapper(function () { |
| 31 | 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")); |
| 32 | }); |
| 33 | } |
| 34 | } |
| 35 |