PluginProbe
WP Spell Check / trunk
WP Spell Check vtrunk
12.1 12.0 11.9 11.8 11.7 11.6 11.5 11.4 11.3 11.2 trunk 10.0 10.1 11.0 11.1 9.22
wp-spell-check / admin / sidebar.php

sidebar.php in WP Spell Check trunk, at admin/sidebar.php

63 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; }
4 ?>
5
6 <div class="wpsc-sidebar-container">
7 <?php
8 if ( ! function_exists( 'is_plugin_active' ) ) {
9 require_once ABSPATH . 'wp-admin/includes/plugin.php';
10 }
11 if ( ! is_plugin_active( 'wp-spell-check-pro/wpspellcheckpro.php' ) ) :
12 global $wpsc_version;
13 $ver = is_string( $wpsc_version ) ? $wpsc_version : '';
14 $upgrade_url = 'https://www.wpspellcheck.com/pricing/?utm_source=baseplugin&utm_campaign=upgrade_sidebar&utm_medium=spell_check&utm_content=' . rawurlencode( $ver );
15 ?>
16 <div class="wpsc-sidebar-upgrade-box">
17 <h2><?php esc_html_e( 'Unlock WP Spell Check Pro', 'wp-spell-check' ); ?></h2>
18 <ul class="wpsc-sidebar-upgrade-list">
19 <li><?php esc_html_e( 'Scan entire site', 'wp-spell-check' ); ?></li>
20 <li><?php esc_html_e( 'Fix all spelling errors', 'wp-spell-check' ); ?></li>
21 <li><?php esc_html_e( 'See hidden issues', 'wp-spell-check' ); ?></li>
22 </ul>
23 <a class="wpsc-sidebar-upgrade-btn" href="<?php echo esc_url( $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer"><?php esc_html_e( '👉 Upgrade to Pro', 'wp-spell-check' ); ?></a>
24 </div>
25 <hr>
26 <?php
27 endif;
28 ?>
29 <div class="wpsc-sidebar-tutorial-box">
30 <a href="https://www.wpspellcheck.com/support/?utm_source=baseplugin&utm_campaign=toturial_rightside&utm_medium=spell_check" target="_blank"><img src="<?php echo esc_url( plugin_dir_url( __FILE__ ) ) . 'images/wpsc-sidebar.jpg'; ?>" alt="Watch WP Spell Check Tutorials" /></a>
31 </div>
32 <hr>
33 <div class="wpsc-sidebar-social-box">
34 <h2>Stay In Touch</h2>
35 <div class="wpsc-social-links">
36 <a href="https://www.facebook.com/wpspellcheck/" target="_blank" rel="noopener noreferrer" class="wpsc-social-link wpsc-social-facebook" aria-label="Follow us on Facebook">
37 <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
38 <path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
39 </svg>
40 <span>Facebook</span>
41 </a>
42 <a href="https://x.com/wpspellcheck" target="_blank" rel="noopener noreferrer" class="wpsc-social-link wpsc-social-x" aria-label="Follow us on X">
43 <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
44 <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
45 </svg>
46 <span>X</span>
47 </a>
48 </div>
49 </div>
50 <?php /* Rating section temporarily hidden.
51 <hr>
52 <div class="newsletter newsletter-subscription">
53 <div class="wpsc-sidebar"><h2>Enjoying this plugin?</h2>Please help by giving us a <a class="review-button" href="https://wordpress.org/support/plugin/wp-spell-check/reviews/" target="_blank">�
54 �
55 �
56 �
57 �
58 Rating</a></div>
59 </div>
60 <hr>
61 */ ?>
62 </div>
63