item-fields.php
3 years ago
layout-settings.php
3 years ago
post-source.php
3 years ago
sc-settings.php
3 years ago
settings.php
3 years ago
style.php
3 years ago
style.php
49 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Style |
| 4 | * |
| 5 | * @package RT_TPG |
| 6 | */ |
| 7 | |
| 8 | use RT\ThePostGrid\Helpers\Fns; |
| 9 | use RT\ThePostGrid\Helpers\Options; |
| 10 | |
| 11 | // Do not allow directly accessing this file. |
| 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | exit( 'This script cannot be accessed directly.' ); |
| 14 | } |
| 15 | |
| 16 | Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGStyleFields() ), true ); |
| 17 | ?> |
| 18 | |
| 19 | <div class="field-holder button-color-style-wrapper"> |
| 20 | <div class="field-label"><?php esc_html_e( 'Button Color', 'the-post-grid' ); ?></div> |
| 21 | <div class="field"> |
| 22 | <div class="tpg-multiple-field-group"> |
| 23 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGStyleButtonColorFields() ), true ); ?> |
| 24 | </div> |
| 25 | </div> |
| 26 | </div> |
| 27 | |
| 28 | <div class="field-holder widget-heading-stle-wrapper"> |
| 29 | <div class="field-label"><?php esc_html_e( 'ShortCode Heading', 'the-post-grid' ); ?></div> |
| 30 | <div class="field"> |
| 31 | <div class="tpg-multiple-field-group"> |
| 32 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGStyleHeading() ), true ); ?> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | |
| 37 | <div class="field-holder full-area-style-wrapper"> |
| 38 | <div class="field-label"><?php esc_html_e( 'Full Area / Section', 'the-post-grid' ); ?></div> |
| 39 | <div class="field"> |
| 40 | <div class="tpg-multiple-field-group"> |
| 41 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGStyleFullArea() ), true ); ?> |
| 42 | </div> |
| 43 | </div> |
| 44 | </div> |
| 45 | |
| 46 | <?php do_action( 'rt_tpg_sc_style_group_field' ); ?> |
| 47 | |
| 48 | <?php Fns::print_html( Fns::rtSmartStyle( Options::extraStyle() ), true ); ?> |
| 49 |