PluginProbe
Advanced Ads – Ad Manager & AdSense / 1.40.1
Advanced Ads – Ad Manager & AdSense v1.40.1
2.0.26 2.0.25 2.0.24 2.0.23 2.0.22 2.0.21 1.38.0 1.39.0 1.39.1 1.39.2 1.39.3 1.39.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.40.0 1.40.1 1.40.2 All 348 releases
advanced-ads / admin / views / support.php
support.php
70 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 [
28 'a' => [
29 'href' => [],
30 'target' => [],
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 [
46 'a' => [
47 'href' => [],
48 'target' => [],
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 [ 'li' => [] ]
64 );
65 ?>
66 </li></ul>
67 </p>
68 <?php endif; ?>
69 </div>
70