partials
2 months ago
contact-us-basic.php
1 year ago
contact-us-pro.php
3 months ago
contact-us.php
1 year ago
darkmode-toggle-button.php
4 months ago
faq.php
3 months ago
footer.php
1 week ago
general-error-modal.php
1 year ago
header.php
3 months ago
main-navigation.php
1 year ago
newsfeed.php
3 months ago
contact-us.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @see src/views/_main/main-navigation.php |
| 5 | * @see src/views/clone/index.php |
| 6 | */ |
| 7 | |
| 8 | use WPStaging\Core\WPStaging; |
| 9 | |
| 10 | $urlAssets = trailingslashit(WPSTG_PLUGIN_URL) . 'assets/'; |
| 11 | ?> |
| 12 | <div id="wpstg-report-issue-wrapper"> |
| 13 | <button type="button" id="<?php echo defined('WPSTGPRO_VERSION') ? "wpstg-report-issue-button" : "wpstg-contact-us-button"; ?>" class="wpstg-report-issue-button"> |
| 14 | <i class="wpstg-contact-us-icon"> |
| 15 | <img class="wpstg--dashicons" src="<?php echo esc_url($urlAssets); ?>svg/contact-us.svg" alt="<?php esc_attr_e("Contact Us", "wp-staging"); ?>"> |
| 16 | </i> |
| 17 | <span class="wpstg-contact-us-label"><?php echo esc_html__("Contact Us", "wp-staging"); ?></span> |
| 18 | </button> |
| 19 | <?php |
| 20 | if (WPStaging::isPro()) { |
| 21 | require_once(WPSTG_VIEWS_DIR . '_main/contact-us-pro.php'); |
| 22 | } else { |
| 23 | require(WPSTG_VIEWS_DIR . '_main/contact-us-basic.php'); |
| 24 | require(WPSTG_VIEWS_DIR . '_main/general-error-modal.php'); |
| 25 | } |
| 26 | ?> |
| 27 | </div> |
| 28 |