function wpstg_clone_page() { ob_start(); ?> <div id="wpstg-clonepage-wrapper"> <span class="wp-staginglogo"><img src="<?php echo WPSTG_PLUGIN_URL . 'assets/images/logo_clean_small_212_25.png'; ?> "></span><span class="wpstg-version"><?php if (WPSTG_SLUG === 'wp-staging-pro') { echo 'Pro'; } ?> Version<?php echo WPSTG_VERSION . ''; ?> </span> <div class="wpstg-header"> <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwordpress.org%2Fplugins%2Fwp-staging%2F&width=100&layout=button&action=like&show_faces=false&share=true&height=35&appId=449277011881884" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:96px; height:20px;" allowTransparency="true"></iframe> <a class="twitter-follow-button" href="https://twitter.com/wpstg" data-size="small" id="twitter-wjs" style="display: block;">Follow @wpstg</a> <a class="twitter-follow-button" href="https://twitter.com/renehermenau" data-size="small" id="twitter-wjs" style="display: block;">Follow @renehermenau</a> <a href="https://twitter.com/intent/tweet?button_hashtag=wpstaging&text=Check%20out%20this%20plugin%20for%20creating%20a%20one%20click%20WordPress%20testing%20site&via=wpstg" class="twitter-hashtag-button" data-size="small" data-related="ReneHermenau" data-url="https://wordpress.org/plugins/wp-staging/" data-dnt="true">Tweet #wpstaging</a> </div> <?php do_action('wpstg_notifications'); ?> <?php if (is_multisite()) { echo '<span class="wpstg-notice-alert" style="margin-top:20px;">' . __('WordPress Multisite is currently not supported!', 'wpstg') . '</span>'; exit; } ?> <ul id="wpstg-steps"> <li class="wpstg-current-step"><span class="wpstg-step-num">1</span><?php echo __('Overview', 'wpstg'); ?> </li> <li><span class="wpstg-step-num">2</span><?php echo __('Scanning', 'wpstg'); ?> </li> <li><span class="wpstg-step-num">3</span><?php echo __('Cloning', 'wpstg'); ?> </li> <li><span href="#" id="wpstg-loader" style="display:none;"></span></li> </ul> <!-- #wpstg-steps --> <div id="wpstg-workflow"> <?php echo wpstg_overview(false); ?> </div> <!-- #wpstg-workflow --> <div id="wpstg-error-wrapper"> <div id="wpstg-error-details"></div> </div> </div> <!-- #wpstg-clonepage-wrapper --> <?php echo wpstg_get_sidebar(); echo ob_get_clean(); }
function wpstg_clone_page() { ob_start(); ?> <div id="wpstg-clonepage-wrapper"> <span class="wp-staginglogo"><img src="<?php echo WPSTG_PLUGIN_URL . 'assets/images/logo_clean_small_212_25.png'; ?> "></span><span class="wpstg-version"><?php echo WPSTG_VERSION . ' / beta'; ?> </span> <div class="wpstg-header"> <?php echo __('Thank you for using WP Staging', 'wpstg'); ?> <br> <?php echo __('WP Staging is ready to create a staging site!', 'wpstg'); ?> <br> <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwordpress.org%2Fplugins%2Fwp-staging%2F&width=100&layout=button&action=like&show_faces=false&share=true&height=35&appId=449277011881884" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:91px; height:20px;" allowTransparency="true"></iframe> <a class="twitter-follow-button" href="https://twitter.com/wp_staging" data-size="small" id="twitter-wjs" style="display: none;">Follow @wp_staging</a> <a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=Check%20this%20WordPress%20Staging%20plugin%20&url=https://wordpress.org/plugins/wp-staging&hashtags=wpstaging&via=wp_staging">Tweet</a> </div> <?php do_action('wpstg_notifications'); ?> <?php if (is_multisite()) { echo '<span class="wpstg-notice-alert" style="margin-top:20px;">' . __('WordPress Multisite is currently not supported! <a href="https://wp-staging.com/contact">Get in contact with us</a> and ask for it.', 'wpstg') . '</span>'; exit; } ?> <ul id="wpstg-steps"> <li class="wpstg-current-step"><span class="wpstg-step-num">1</span><?php echo __('Overview', 'wpstg'); ?> </li> <li><span class="wpstg-step-num">2</span><?php echo __('Scanning', 'wpstg'); ?> </li> <li><span class="wpstg-step-num">3</span><?php echo __('Cloning', 'wpstg'); ?> </li> <li><span href="#" id="wpstg-loader" style="display:none;"></span></li> </ul> <!-- #wpstg-steps --> <div id="wpstg-workflow"> <?php echo wpstg_overview(false); ?> </div> <!-- #wpstg-workflow --> <div id="wpstg-error-wrapper"> <div id="wpstg-error-details"></div> </div> </div> <!-- #wpstg-clonepage-wrapper --> <?php echo wpstg_get_sidebar(); echo ob_get_clean(); }