partials
1 year ago
ads.php
1 year ago
calendly.php
1 year ago
custom-logo.php
2 years ago
dailymotion.php
2 years ago
elements.php
2 years ago
general.php
1 year ago
go-premium.php
2 years ago
google-calendar.php
2 years ago
instagram.php
2 years ago
license.php
5 years ago
main-template.php
1 year ago
opensea.php
2 years ago
premium.php
2 years ago
shortcode.php
2 years ago
soundcloud.php
2 years ago
sources.php
1 year ago
spotify.php
2 years ago
twitch.php
2 years ago
vimeo.php
2 years ago
wistia.php
2 years ago
youtube.php
1 year ago
shortcode.php
53 lines
| 1 | <?php |
| 2 | /* |
| 3 | * Shortcode Settings page |
| 4 | * All undefined vars comes from 'render_settings_page' method |
| 5 | */ |
| 6 | ?> |
| 7 | <div class="embedpress__settings background__white radius-16 p-24"> |
| 8 | <h3><?php esc_html_e( "Shortcode", "embedpress" ); ?></h3> |
| 9 | <div class="shortcode-settings-wrapper"> |
| 10 | <div class="embedpress__shortcode"> |
| 11 | <p class="shortcode__text"><?php printf( esc_html__( "EmbedPress has direct integration with Classic, Gutenberg and Elementor Editor. But for other page editor you can use EmbedPress shortcode feature. To generate shortcode simply insert your link, click %s'Generate'%s button and then copy your shortcode. For details, check out this %sdocumentation%s.", "embedpress" ),'<strong>', '</strong>','<a class="ep-link" href="https://embedpress.com/docs/how-to-use-embedpress-shortcodes-page-builders/" target="_blank">', '</a>'); ?></p> |
| 12 | <div class="shortcode__form form__inline mb-20"> |
| 13 | <div class="form__group"> |
| 14 | <input type="url" id="ep-link" class="form__control" placeholder="<?php esc_attr_e( "Place your link here to generate shortcode", "embedpress" ); ?>"> |
| 15 | </div> |
| 16 | <button class="button button__redColor" id="ep-shortcode-btn"><?php esc_html_e( "Generate", "embedpress" ); ?></button> |
| 17 | </div> |
| 18 | <div class="shortcode__form form__inline"> |
| 19 | <div class="form__group"> |
| 20 | <input type="text" class="form__control" id="ep-shortcode" readonly> |
| 21 | </div> |
| 22 | <button class="button button__themeColor copy__button" id="ep-shortcode-cp"><i class="ep-icon ep-copy"></i><span>Copy Link</span></button> |
| 23 | </div> |
| 24 | </div> |
| 25 | <?php if (empty($pro_active) || !$pro_active) : ?> |
| 26 | <div class="embedpress-upgrade-pro-sidebar"> |
| 27 | <div class="gradient-color"> |
| 28 | <img class="embedpress-banner" src="<?php echo esc_url('https://embedpress.com/wp-content/uploads/2023/10/Mega-Page.gif'); ?>" alt=""> |
| 29 | |
| 30 | <ul class="feature-list"> |
| 31 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('Social Share', 'embedpress'); ?></li> |
| 32 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('Lazy Loading', 'embedpress'); ?></li> |
| 33 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('SEO Optimized', 'embedpress'); ?></li> |
| 34 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('Custom Branding', 'embedpress'); ?></li> |
| 35 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('Content Protection', 'embedpress'); ?></li> |
| 36 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('Custom Audio & Video Player', 'embedpress'); ?></li> |
| 37 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('PDF & Documents Embedding', 'embedpress'); ?></li> |
| 38 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('Embed From 150+ Sources', 'embedpress'); ?></li> |
| 39 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('Wrapper Support', 'embedpress'); ?></li> |
| 40 | <li><img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/check2.svg'); ?>" alt=""><?php echo esc_html__('& Many more...', 'embedpress'); ?></li> |
| 41 | </ul> |
| 42 | |
| 43 | <a class="pro-upgrade-button" target="_blank" href="<?php echo esc_url('https://wpdeveloper.com/in/upgrade-embedpress'); ?>"><?php echo esc_html__('Upgrade to Pro', 'embedpress'); ?> <img src="<?php echo esc_url(EMBEDPRESS_SETTINGS_ASSETS_URL . 'img/external-white.svg'); ?>" alt=""></a> |
| 44 | |
| 45 | </div> |
| 46 | |
| 47 | </div> |
| 48 | <?php endif; ?> |
| 49 | </div> |
| 50 | |
| 51 | </div> |
| 52 | |
| 53 |