index.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This file is called on the staging site in |
| 5 | * @see src/views/clone/index.php |
| 6 | */ |
| 7 | |
| 8 | use WPStaging\Framework\Facades\Escape; |
| 9 | |
| 10 | ?> |
| 11 | |
| 12 | <div class="wpstg-notice--white"> |
| 13 | <?php echo esc_html__("If you want to transfer this staging site to the production site,", "wp-staging") ?> |
| 14 | <br/> |
| 15 | <?php echo sprintf( |
| 16 | Escape::escapeHtml(__("<a href='%s' target='_new'>Open WP STAGING on Live Site</a> and start the push process from there.", 'wp-staging')), |
| 17 | esc_url((new WPStaging\Framework\Utils\Urls())->getProductionHostname() . '/wp-admin/admin.php?page=wpstg_clone') |
| 18 | ); ?> |
| 19 | <br/> <br/> |
| 20 | <div class="wpstg-enable-staging-site-clone"> |
| 21 | <?php echo Escape::escapeHtml(__("If you want to clone this site, click on:", 'wp-staging')); ?> |
| 22 | <button id="wpstg-enable-staging-cloning" class="wpstg-button wpstg-blue-primary"> |
| 23 | <?php echo esc_html__("Enable cloning of this site", "wp-staging") ?> |
| 24 | </button> |
| 25 | </div> |
| 26 | <br/> <br/> |
| 27 | <?php echo sprintf( |
| 28 | Escape::escapeHtml(__("<a href='%s' target='_new'>Read this article</a> if you would like to know more about cloning a staging site.", 'wp-staging')), |
| 29 | 'https://wp-staging.com/docs/cloning-a-staging-site-testing-push-method/' |
| 30 | ); ?> |
| 31 | </div> |
| 32 |