ad-list
3 years ago
conditions
3 years ago
notices
3 years ago
settings
3 years ago
upgrades
3 years ago
ad-conditions-string-operators.php
6 years ago
ad-group-edit.php
6 years ago
ad-group-list-ads.php
6 years ago
ad-group-list-form-row.php
3 years ago
ad-group-list-header.php
6 years ago
ad-group-list-row.php
3 years ago
ad-group.php
3 years ago
ad-info-after-textarea.php
4 years ago
ad-info-bottom.php
4 years ago
ad-info-top.php
3 years ago
ad-list-filters.php
4 years ago
ad-list-no-ads.php
5 years ago
ad-main-metabox.php
4 years ago
ad-output-metabox.php
3 years ago
ad-parameters-metabox.php
5 years ago
ad-parameters-size.php
6 years ago
ad-submitbox-meta.php
4 years ago
ad-usage-metabox.php
3 years ago
ad-usage-notes.php
3 years ago
ad-usage.php
3 years ago
checks.php
5 years ago
feedback-disable.php
6 years ago
frontend-picker-script.php
4 years ago
gadsense-dashboard.php
4 years ago
group-hints.php
3 years ago
header.php
3 years ago
index.php
7 years ago
modal.php
3 years ago
overview-addons-line.php
6 years ago
overview-notice-row.php
4 years ago
overview-notices.php
6 years ago
overview-widget.php
6 years ago
overview.php
4 years ago
placement-form.php
3 years ago
placement-injection-top.php
4 years ago
placement-types.php
3 years ago
placements-ad-label-position.php
3 years ago
placements-ad-label.php
6 years ago
placements-content-index.php
5 years ago
placements-inline-css.php
5 years ago
placements-item.php
4 years ago
placements.php
3 years ago
post-ad-settings-metabox.php
4 years ago
setting-license.php
4 years ago
settings.php
3 years ago
support-callout.php
4 years ago
support.php
4 years ago
support.php
70 lines
| 1 | <?php |
| 2 | /** |
| 3 | * The view for the support page |
| 4 | */ |
| 5 | ?><div class="wrap"> |
| 6 | <p><?php esc_html_e( 'Please fix the red highlighted issues on this page or try to understand their consequences before contacting support.', 'advanced-ads' ); ?></p> |
| 7 | <h2><?php esc_html_e( 'Possible Issues', 'advanced-ads' ); ?></h2> |
| 8 | <ul> |
| 9 | <li><a href="<?php echo esc_url( ADVADS_URL ); ?>manual/ads-not-showing-up/?utm_source=advanced-ads&utm_medium=link&utm_campaign=support"><?php esc_html_e( 'Ads not showing up', 'advanced-ads' ); ?></a></li> |
| 10 | <li><a href="<?php echo esc_url( ADVADS_URL ); ?>manual/purchase-licenses/?utm_source=advanced-ads&utm_medium=link&utm_campaign=support"><?php esc_html_e( 'Purchase & Licenses', 'advanced-ads' ); ?></a></li> |
| 11 | <li><a href="<?php echo esc_url( ADVADS_URL ); ?>manual/issues-after-updates/?utm_source=advanced-ads&utm_medium=link&utm_campaign=support"><?php esc_html_e( 'Issues after updating', 'advanced-ads' ); ?></a></li> |
| 12 | <li><a href="<?php echo esc_url( ADVADS_URL ); ?>manual-category/troubleshooting/?utm_source=advanced-ads&utm_medium=link&utm_campaign=support"><?php esc_html_e( 'General Issues', 'advanced-ads' ); ?></a></li> |
| 13 | <li><a href="<?php echo esc_url( ADVADS_URL ); ?>manual-category/add-on-issues/?utm_source=advanced-ads&utm_medium=link&utm_campaign=support"><?php esc_html_e( 'Issues with Add-Ons', 'advanced-ads' ); ?></a></li> |
| 14 | </ul> |
| 15 | <p><?php esc_html_e( 'Use the following form to search for solutions in the manual on wpadvancedads.com', 'advanced-ads' ); ?></p> |
| 16 | <form action="https://wpadvancedads.com/?utm_source=advanced-ads&utm_medium=link&utm_campaign=support-form" method="get" class="advads-support-form"> |
| 17 | <input type="search" name="s"/> |
| 18 | <input type="submit" class="button button-primary" value="<?php esc_html_e( 'search', 'advanced-ads' ); ?>"> |
| 19 | </form> |
| 20 | <?php if ( Advanced_Ads_Admin_Licenses::any_license_valid() ) : ?> |
| 21 | <p> |
| 22 | <?php |
| 23 | printf( |
| 24 | wp_kses( |
| 25 | // translators: %s is a URL. |
| 26 | __( 'Take a look at more common issues or contact us directly through the <a href="%s" target="_blank">support page</a>.', 'advanced-ads' ), |
| 27 | array( |
| 28 | 'a' => array( |
| 29 | 'href' => array(), |
| 30 | 'target' => array(), |
| 31 | ), |
| 32 | ) |
| 33 | ), |
| 34 | esc_url( ADVADS_URL ) . 'support/?utm_source=advanced-ads&utm_medium=link&utm_campaign=support' |
| 35 | ); |
| 36 | ?> |
| 37 | </p> |
| 38 | <?php else : ?> |
| 39 | <p> |
| 40 | <?php |
| 41 | printf( |
| 42 | wp_kses( |
| 43 | // translators: %s is a URL. |
| 44 | __( 'Upgrade to any premium add-on and get <strong>priority email support</strong> or reach out through the <a href="%s" target="_blank">support forum</a> for individual help.', 'advanced-ads' ), |
| 45 | array( |
| 46 | 'a' => array( |
| 47 | 'href' => array(), |
| 48 | 'target' => array(), |
| 49 | ), |
| 50 | ) |
| 51 | ), |
| 52 | 'https://wordpress.org/support/plugin/advanced-ads' |
| 53 | ); |
| 54 | ?> |
| 55 | </p> |
| 56 | <?php endif; ?> |
| 57 | <?php if ( $constants = Advanced_Ads_Checks::get_defined_constants() ) : ?> |
| 58 | <h2><?php esc_html_e( 'Advanced Ads related constants enabled', 'advanced-ads' ); ?></h2> |
| 59 | <ul><li> |
| 60 | <?php |
| 61 | echo wp_kses( |
| 62 | implode( '</li><li>', $constants ), |
| 63 | array( 'li' => array() ) |
| 64 | ); |
| 65 | ?> |
| 66 | </li></ul> |
| 67 | </p> |
| 68 | <?php endif; ?> |
| 69 | </div> |
| 70 |