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
sc-settings.php
61 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Settings: Shortcode Settings |
| 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 | ?> |
| 17 | <div class="field-holder"> |
| 18 | <div class="field-label"><?php esc_html_e( 'ShortCode Heading', 'the-post-grid' ); ?></div> |
| 19 | <div class="field"> |
| 20 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGSCHeadingSettings() ), true ); ?> |
| 21 | </div> |
| 22 | </div> |
| 23 | <div class="field-holder"> |
| 24 | <div class="field-label"> |
| 25 | <label><?php esc_html_e( 'Category', 'the-post-grid' ); ?></label> |
| 26 | </div> |
| 27 | <div class="field"> |
| 28 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGSCCategorySettings() ), true ); ?> |
| 29 | </div> |
| 30 | </div> |
| 31 | <div class="field-holder"> |
| 32 | <div class="field-label"><?php esc_html_e( 'Title', 'the-post-grid' ); ?></div> |
| 33 | <div class="field"> |
| 34 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGSCTitleSettings() ), true ); ?> |
| 35 | </div> |
| 36 | </div> |
| 37 | <div class="field-holder"> |
| 38 | <div class="field-label"><?php esc_html_e( 'Meta', 'the-post-grid' ); ?></div> |
| 39 | <div class="field"> |
| 40 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGSCMetaSettings() ), true ); ?> |
| 41 | </div> |
| 42 | </div> |
| 43 | <div class="field-holder"> |
| 44 | <div class="field-label"><?php esc_html_e( 'Image', 'the-post-grid' ); ?></div> |
| 45 | <div class="field"> |
| 46 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGSCImageSettings() ), true ); ?> |
| 47 | </div> |
| 48 | </div> |
| 49 | <div class="field-holder"> |
| 50 | <div class="field-label"><?php esc_html_e( 'Excerpt', 'the-post-grid' ); ?></div> |
| 51 | <div class="field"> |
| 52 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGSCExcerptSettings() ), true ); ?> |
| 53 | </div> |
| 54 | </div> |
| 55 | <div class="field-holder"> |
| 56 | <div class="field-label"><?php esc_html_e( 'Read More Button', 'the-post-grid' ); ?></div> |
| 57 | <div class="field"> |
| 58 | <?php Fns::print_html( Fns::rtFieldGenerator( Options::rtTPGSCButtonSettings() ), true ); ?> |
| 59 | </div> |
| 60 | </div> |
| 61 |