PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
charitable / includes / admin / views / seo / seo.php

seo.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at includes/admin/views/seo/seo.php

159 lines 6.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7
8 /**
9 * Display the main SEO page wrapper.
10 *
11 * @author David Bisset
12 * @package Charitable/Admin View/Tools
13 * @copyright Copyright (c) 2023, WP Charitable LLC
14 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
15 * @since 1.8.8
16 * @version 1.8.8
17 * @version 1.8.8.6
18 */
19
20 ob_start();
21 ?>
22
23 <div id="charitable-seo" class="wrap">
24 <h1 class="screen-reader-text"><?php echo esc_html( get_admin_page_title() ); ?></h1>
25
26 <div class="charitable-intergrations-container intergration-seo">
27
28 <img class="charitable-seo-logo" src="<?php echo esc_url( charitable()->get_path( 'assets', false ) ) . 'images/integrations/seo.png'; ?>" alt="<?php echo esc_html__( 'Integrate SEO Tools Into Charitable For Better Campaign Visibility', 'charitable' ); ?>">
29
30 <h1><?php echo esc_html__( 'Rank Higher and Drive More Traffic to Your Site', 'charitable' ); ?></h1>
31
32 <h2><?php echo esc_html__( 'The #1 WordPress SEO plugin trusted by over 3 million users. AIOSEO provides all the tools you need to improve your on-page SEO, track keywords, and grow your online visibility. Built for beginners and pros alike.', 'charitable' ); ?></h2>
33
34 <div class="bullets-thumbnail">
35
36 <div>
37 <div class="charitable-screenshot">
38 <img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/integrations/aioseo-screenshot-thumbnail.png' ); ?>" alt="<?php echo esc_html__( 'Integrate SEO Tools Into Charitable For Better Campaign Visibility', 'charitable' ); ?>">
39 <a href="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/integrations/aioseo-screenshot-full.png' ); ?>" class="hover" data-lity=""></a>
40 </div>
41 </div>
42 <div>
43 <div class="vertical-wrapper">
44 <ul>
45 <li><?php echo esc_html__( 'Real-time SEO feedback as you write.', 'charitable' ); ?></li>
46 <li><?php echo esc_html__( 'AI-powered title and meta description generation.', 'charitable' ); ?></li>
47 <li><?php echo esc_html__( 'Track keyword rankings and site performance.', 'charitable' ); ?></li>
48 <li><?php echo esc_html__( 'SEO tools for local businesses and WooCommerce.', 'charitable' ); ?></li>
49 </ul>
50 </div>
51 </div>
52
53 </div>
54
55 <div class="charitable-intergration-steps">
56
57 <?php
58
59 $charitable_plugins_third_party = new Charitable_Admin_Plugins_Third_Party(); // phpcs:ignore
60
61 // determine if the SEO plugin is installed and activated.
62 $charitable_is_seo_installed = $charitable_plugins_third_party->is_plugin_installed( 'aioseo' );
63 $charitable_is_seo_active = $charitable_plugins_third_party->is_plugin_activated( 'aioseo' );
64
65 if ( ! $charitable_is_seo_installed ) {
66
67 $charitable_install_button_html = $charitable_plugins_third_party->get_install_button_html( 'aioseo', 'Install AIOSEO' );
68
69 ?>
70
71 <div class="charitable-intergration-step charitable-intergration-step-1" data-status="install">
72 <div class="instructions">
73 <h3><?php echo esc_html__( 'Install and Activate AIOSEO', 'charitable' ); ?></h3>
74 <p><?php echo esc_html__( 'Install AIOSEO by clicking this button', 'charitable' ); ?></p>
75 <?php echo $charitable_install_button_html; // phpcs:ignore ?>
76 </div>
77 <div class="step">
78 <div class="vertical-wrapper">
79 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-1.png' ); ?>" alt="<?php echo esc_html__( 'Step 1', 'charitable' ); ?>" /></div>
80 </div>
81 </div>
82 </div>
83
84 <?php
85 } elseif ( ! $charitable_is_seo_active ) {
86
87 $charitable_basename = $charitable_plugins_third_party->get_basename_from_slug( 'aioseo' );
88
89 if ( $charitable_basename ) :
90
91 $charitable_activate_button_html = $charitable_plugins_third_party->get_activation_button_html( 'aioseo', 'Activate AIOSEO' );
92
93 ?>
94
95 <div class="charitable-intergration-step charitable-intergration-step-1" data-status="activate">
96 <div class="instructions">
97 <h3><?php echo esc_html__( 'Activate AIOSEO', 'charitable' ); ?></h3>
98 <p><?php echo esc_html__( 'Activate AIOSEO by clicking this button:', 'charitable' ); ?></p>
99 <?php echo $charitable_activate_button_html; // phpcs:ignore ?>
100 </div>
101 <div class="step">
102 <div class="vertical-wrapper">
103 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-1.png' ); ?>" alt="<?php echo esc_html__( 'Step 1', 'charitable' ); ?>" /></div>
104 </div>
105 </div>
106 </div>
107
108 <?php
109
110 endif;
111
112 } else {
113
114 $charitable_setup_url = $charitable_plugins_third_party->get_setup_screen_for_plugin( 'aioseo' );
115
116 ?>
117
118 <div class="charitable-intergration-step charitable-intergration-step-1" data-status="setup">
119 <div class="instructions">
120 <h3><?php echo esc_html__( 'Setup AIOSEO', 'charitable' ); ?></h3>
121 <p><?php echo esc_html__( 'Setup AIOSEO by clicking this button:', 'charitable' ); ?></p>
122 <a href="<?php echo esc_url( $charitable_setup_url ); ?>" target="_blank" class="charitable-button button-link charitable-button-setup"><?php echo esc_html__( 'Set Up AIOSEO', 'charitable' ); ?></a>
123 </div>
124 <div class="step">
125 <div class="vertical-wrapper">
126 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-1.png' ); ?>" alt="<?php echo esc_html__( 'Step 1', 'charitable' ); ?>" /></div>
127 </div>
128 </div>
129 </div>
130
131 <?php } ?>
132
133 <?php if ( ! charitable_is_installed_mi_pro() ) : ?>
134
135 <div class="charitable-intergration-step charitable-intergration-step-1">
136 <div class="instructions">
137 <h3><?php echo esc_html__( 'Upgrade to AIOSEO Pro', 'charitable' ); ?></h3>
138 <p><?php echo esc_html__( 'Don\'t leave traffic on the table. Unlock additional features with AIOSEO Pro that help you outrank the competition and grow your business.', 'charitable' ); ?></p>
139 <a href="https://aioseo.com/pricing/" target="_blank" class="charitable-button button-link"><?php echo esc_html__( 'Upgrade To Pro', 'charitable' ); ?></a>
140 </div>
141 <div class="step">
142 <div class="vertical-wrapper">
143 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-2.png' ); ?>" alt="<?php echo esc_html__( 'Step 2', 'charitable' ); ?>" /></div>
144 </div>
145 </div>
146 </div>
147
148 <?php endif; ?>
149
150 </div> <!-- charitable intergration steps -->
151
152 </div> <!-- charitable integrations container -->
153
154
155 </div>
156
157 <?php
158 echo ob_get_clean(); // phpcs:ignore
159