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
faq.php
62 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * FAQ/Knowledgebase view template |
| 5 | * |
| 6 | * Renders the FAQ section in the WP Staging admin sidebar. |
| 7 | * Supports collapsible state with localStorage persistence. |
| 8 | */ |
| 9 | |
| 10 | use WPStaging\Core\WPStaging; |
| 11 | use WPStaging\Framework\Language\Language; |
| 12 | |
| 13 | ?> |
| 14 | <div id="wpstg-faq" class="wpstg-faq-container wpstg-u-block"> |
| 15 | <div class="wpstg-faq-header" role="button" aria-expanded="false"> |
| 16 | <h3 class="wpstg-faq-title">📚 <?php esc_html_e('Knowledgebase', 'wp-staging'); ?></h3> |
| 17 | <span class="wpstg-faq-toggle-link"> |
| 18 | <span class="wpstg-faq-toggle-text"><?php esc_html_e('View Details', 'wp-staging'); ?></span> |
| 19 | <span class="wpstg-faq-toggle-icon">›</span> |
| 20 | </span> |
| 21 | </div> |
| 22 | |
| 23 | <div class="wpstg-faq-content" style="display: none;"> |
| 24 | <ul class="wpstg-faq-list"> |
| 25 | <li class="wpstg-faq-item"><a href="<?php echo esc_url(Language::localizeDocsUrl('https://wp-staging.com/docs/how-to-migrate-your-wordpress-site-to-a-new-host/')); ?>" target="_blank" rel="external"><?php esc_html_e('Migrate Website to Another Server or Domain', 'wp-staging'); ?></a></li> |
| 26 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/staging-site-redirects-live-site/" target="_blank" rel="external"><?php esc_html_e('Can not login to staging site', 'wp-staging'); ?></a></li> |
| 27 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/staging-site-redirects-live-site/" target="_blank" rel="external"><?php esc_html_e('Staging site redirects to production site', 'wp-staging'); ?></a></li> |
| 28 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/fix-white-or-blank-page-after-pushing-fatal-error-500/" target="_blank" rel="external"><?php esc_html_e('Staging site returns blank white page', 'wp-staging'); ?></a></li> |
| 29 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/set-up-a-staging-site-on-an-external-server-with-wp-staging/" target="_blank" rel="external"><?php esc_html_e('Set Up a Staging Site on an External Server', 'wp-staging'); ?></a></li> |
| 30 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/css-layout-broken-after-push/" target="_blank" rel="external"><?php esc_html_e('CSS & layout looks different after push', 'wp-staging'); ?></a></li> |
| 31 | <?php if (is_plugin_active('woocommerce/woocommerce.php')) : ?> |
| 32 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/skip-woocommerce-orders-and-products/" target="_blank" rel="external"><?php esc_html_e('Skip WooCommerce Orders and Products', 'wp-staging'); ?></a></li> |
| 33 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/delete-all-woocommerce-orders-and-transactions/" target="_blank" rel="external"><?php esc_html_e('Delete All WooCommerce Orders on Staging Site', 'wp-staging'); ?></a></li> |
| 34 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/how-to-disable-woocommerce-subscriptions-on-a-staging-site/" target="_blank" rel="external"><?php esc_html_e('Disable WooCommerce Subscriptions on Staging', 'wp-staging'); ?></a></li> |
| 35 | <?php endif; ?> |
| 36 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/can-not-update-wp-staging-staging-site/" target="_blank" rel="external"><?php esc_html_e('Can not update WP STAGING plugin', 'wp-staging'); ?></a></li> |
| 37 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/page-not-found-error-404-after-pushing/" target="_blank" rel="external"><?php esc_html_e('Page not found – Error 404 after Pushing', 'wp-staging'); ?></a></li> |
| 38 | <li class="wpstg-faq-item"><a href="https://wp-staging.com/docs/pagebuilders-do-not-work/" target="_blank" rel="external"><?php esc_html_e('Pagebuilder plugin does not open (Divi, Elementor)', 'wp-staging'); ?></a></li> |
| 39 | </ul> |
| 40 | </div> |
| 41 | |
| 42 | <div class="wpstg-faq-footer"> |
| 43 | <div class="wpstg-faq-contact"> |
| 44 | <?php esc_html_e('Still questions?', 'wp-staging'); ?> |
| 45 | <a href="<?php echo esc_url(Language::localizeSupportUrl('https://wp-staging.com/support/')); ?>" target="_blank" rel="external nofollow"><?php esc_html_e('Contact us', 'wp-staging'); ?></a> |
| 46 | </div> |
| 47 | <div class="wpstg-faq-links"> |
| 48 | <a href="<?php echo esc_url(Language::localizeDocsUrl('https://wp-staging.com/docs/documentation/')); ?>" target="_blank" class="wpstg-faq-all-articles"> |
| 49 | <?php esc_html_e('View documentation', 'wp-staging'); ?> → |
| 50 | </a> |
| 51 | <div class="wpstg-faq-social"> |
| 52 | <a href="https://x.com/intent/follow?screen_name=wpstg" target="_blank" title="<?php esc_attr_e('Follow us on X', 'wp-staging'); ?>"> |
| 53 | <img src="<?php echo esc_url($this->assets->getAssetsUrl('svg/twitter-x.svg')); ?>" alt="X" width="14" height="14"> |
| 54 | </a> |
| 55 | <a href="https://github.com/wp-staging/wp-staging" target="_blank" title="<?php esc_attr_e('Follow us on GitHub', 'wp-staging'); ?>"> |
| 56 | <img src="<?php echo esc_url($this->assets->getAssetsUrl('svg/github-logo.svg')); ?>" alt="GitHub" width="14" height="14"> |
| 57 | </a> |
| 58 | </div> |
| 59 | </div> |
| 60 | </div> |
| 61 | </div> |
| 62 |