| 1 |
<?php |
| 2 |
/** |
| 3 |
* Provide a admin area view for the plugin |
| 4 |
* |
| 5 |
* This file is used to markup the admin-facing aspects of the plugin. |
| 6 |
* |
| 7 |
* @link https://catchplugins.com/plugins |
| 8 |
* @since 1.0.0 |
| 9 |
* |
| 10 |
* @package Catch Breadcrumb |
| 11 |
* @subpackage Catch Breadcrumb/admin/partials |
| 12 |
*/ |
| 13 |
?> |
| 14 |
|
| 15 |
<div class="wrap"> |
| 16 |
<h1 class="wp-heading-inline"><?php esc_html_e( 'Breadcrumb', 'catch-breadcrumb' ); ?></h1> |
| 17 |
<div id="plugin-description"> |
| 18 |
<p><?php esc_html_e( 'Catch Breadcrumb lets you display Breadcrumb Navigation anywhere on your website elegantly. It helps your readers navigate easily through your website without getting lost.', 'catch-breadcrumb' ); ?></p> |
| 19 |
</div> |
| 20 |
<div class="catchp-content-wrapper"> |
| 21 |
<div class="catchp_widget_settings"> |
| 22 |
<form id="breadcrumb-main" method="post" action="options.php"> |
| 23 |
<h2 class="nav-tab-wrapper"> |
| 24 |
<a class="nav-tab nav-tab-active" id="dashboard-tab" href="#dashboard"><?php esc_html_e( 'Dashboard', 'catch-breadcrumb' ); ?></a> |
| 25 |
<a class="nav-tab" id="features-tab" href="#features"><?php esc_html_e( 'Features', 'catch-breadcrumb' ); ?></a> |
| 26 |
<a class="nav-tab" id="premium-extensions-tab" href="#premium-extensions"><?php esc_html_e( 'Compare Table', 'catch-breadcrumb' ); ?></a> |
| 27 |
</h2> |
| 28 |
<div id="dashboard" class="wpcatchtab nosave active"> |
| 29 |
|
| 30 |
<?php require_once plugin_dir_path( dirname( __FILE__ ) ) . 'partials/dashboard-display.php'; ?> |
| 31 |
|
| 32 |
<div id="ctp-switch" class="content-wrapper col-3 catch-breadcrumb-main"> |
| 33 |
<div class="header"> |
| 34 |
<h2><?php esc_html_e( 'Catch Themes & Catch Plugins Tabs', 'catch-breadcrumb' ); ?></h2> |
| 35 |
</div> <!-- .Header --> |
| 36 |
|
| 37 |
<div class="content"> |
| 38 |
|
| 39 |
<p> |
| 40 |
|
| 41 |
<?php |
| 42 |
echo esc_html__( 'If you want to turn off Catch Themes & Catch Plugins tabs option in Add Themes and Add Plugins page, please uncheck the following option.', 'catch-breadcrumb' ); |
| 43 |
?> |
| 44 |
|
| 45 |
</p> |
| 46 |
<table> |
| 47 |
<tr> |
| 48 |
<td> |
| 49 |
|
| 50 |
<?php echo esc_html__( 'Turn On Catch Themes & Catch Plugin tabs', 'catch-breadcrumb' ); ?> |
| 51 |
|
| 52 |
</td> |
| 53 |
<td> |
| 54 |
|
| 55 |
<?php $ctp_options = ctp_get_options(); ?> |
| 56 |
|
| 57 |
<div class="module-header <?php echo esc_attr( $ctp_options['theme_plugin_tabs'] ) ? 'active' : 'inactive'; ?>"> |
| 58 |
<div class="switch"> |
| 59 |
|
| 60 |
<input type="hidden" name="catch_breadcrumb_plugin_tabs_nonce" id="catch_breadcrumb_plugin_tabs_nonce" value="<?php echo esc_attr( wp_create_nonce( 'catch_breadcrumb_plugin_tabs_nonce' ) ); ?>" /> |
| 61 |
<input type="checkbox" id="ctp_options[theme_plugin_tabs]" class="ctp-switch" rel="theme_plugin_tabs" <?php checked( true, $ctp_options['theme_plugin_tabs'] ); ?> > |
| 62 |
<label for="ctp_options[theme_plugin_tabs]"></label> |
| 63 |
|
| 64 |
</div> |
| 65 |
<div class="loader"></div> |
| 66 |
</div> |
| 67 |
</td> |
| 68 |
</tr> |
| 69 |
</table> |
| 70 |
|
| 71 |
</div> |
| 72 |
</div><!-- #ctp-switch --> |
| 73 |
<div id="go-premium" class="content-wrapper col-2"> |
| 74 |
|
| 75 |
<div class="header"> |
| 76 |
<h2><?php esc_html_e( 'Go Premium!', 'catch-breadcrumb' ); ?></h2> |
| 77 |
</div> <!-- .Header --> |
| 78 |
|
| 79 |
<div class="content"> |
| 80 |
<button type="button" class="button dismiss"> |
| 81 |
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this item.', 'catch-breadcrumb' ); ?></span> |
| 82 |
<span class="dashicons dashicons-no-alt"></span> |
| 83 |
</button> |
| 84 |
<ul class="catchp-lists"> |
| 85 |
<li><strong><?php esc_html_e( 'Breadcrumb Font Size', 'catch-breadcrumb' ); ?></strong></li> |
| 86 |
<li><strong><?php esc_html_e( 'Breadcrumb Text Color', 'catch-breadcrumb' ); ?></strong></li> |
| 87 |
<li><strong><?php esc_html_e( 'Breadcrumb Background Color', 'catch-breadcrumb' ); ?></strong> |
| 88 |
</li> |
| 89 |
</ul> |
| 90 |
<a href="<?php esc_url( 'https://catchplugins.com/plugins/catch-breadcrumb-pro/' ); ?>" target="_blank"><?php esc_html_e( 'Find out why you should upgrade to Catch Breadcrumb Premium »', 'catch-breadcrumb' ); ?></a></div> <!-- .Content --> |
| 91 |
|
| 92 |
</div> <!-- #go-premium --> |
| 93 |
|
| 94 |
<div id="pro-screenshot" class="content-wrapper col-3"> |
| 95 |
|
| 96 |
<div class="header"> |
| 97 |
<h2><?php esc_html_e( 'Pro Screenshot', 'catch-breadcrumb' ); ?></h2> |
| 98 |
</div> <!-- .Header --> |
| 99 |
|
| 100 |
<div class="content"> |
| 101 |
<ul class="catchp-lists"> |
| 102 |
<li><img src="<?php echo esc_url( plugin_dir_url( __FILE__ ) . '../images/features-1.jpg' ); ?>"></li> |
| 103 |
<li><img src="<?php echo esc_url( plugin_dir_url( __FILE__ ) . '../images/features-2.jpg' ); ?>"></li> |
| 104 |
</ul> |
| 105 |
</div> <!-- .Content --> |
| 106 |
</div> <!-- #pro-screenshot --> |
| 107 |
</div><!---dashboard----> |
| 108 |
|
| 109 |
<div id="features" class="wpcatchtab save"> |
| 110 |
<div class="content-wrapper col-3"> |
| 111 |
<div class="header"> |
| 112 |
<h3><?php esc_html_e( 'Features', 'catch-breadcrumb' ); ?></h3> |
| 113 |
</div><!-- .header --> |
| 114 |
<div class="content"> |
| 115 |
<ul class="catchp-lists"> |
| 116 |
<li> |
| 117 |
<strong><?php esc_html_e( 'Shortcode', 'catch-breadcrumb' ); ?></strong> |
| 118 |
<p><?php esc_html_e( 'Catch Breadcrumb, the new breadcrumb WordPress plugin supports shortcode. With the plugin activated, you will be provided with the shortcode option. Simply copy and paste the provided shortcode directly into any post or page and enjoy displaying your breadcrumb trail. ', 'catch-breadcrumb' ); ?></p> |
| 119 |
</li> |
| 120 |
<li> |
| 121 |
<strong><?php esc_html_e( 'Breadcrumb Selector', 'catch-breadcrumb' ); ?></strong> |
| 122 |
<p><?php esc_html_e( 'You can display your breadcrumb trail wherever you want on your website. On the Breadcrumb Selector field, you need to enter the website position. The breadcrumb trails will be displayed gracefully right above the mentioned website section. ', 'catch-breadcrumb' ); ?></p> |
| 123 |
</li> |
| 124 |
|
| 125 |
<li> |
| 126 |
<strong><?php esc_html_e( 'Incredible Support', 'catch-breadcrumb' ); ?></strong> |
| 127 |
<p><?php esc_html_e( 'We have a great line of support team and support documentation. You do not need to worry about how to use the plugins we provide, just refer to our Tech Support Forum. Further, if you need to do advanced customization to your website, you can always hire our customizer!', 'catch-breadcrumb' ); ?></p> |
| 128 |
</li> |
| 129 |
|
| 130 |
<li> |
| 131 |
<strong><?php esc_html_e( 'Light Weight', 'catch-breadcrumb' ); ?></strong> |
| 132 |
<p><?php esc_html_e( 'Catch Breadcrumb, a simple breadcrumb plugin for WordPress is extremely lightweight. It means you will not have to worry about your website getting slower because of the plugin. ', 'catch-breadcrumb' ); ?></p> |
| 133 |
</li> |
| 134 |
|
| 135 |
<li> |
| 136 |
<strong><?php esc_html_e( 'Responsive Design', 'catch-breadcrumb' ); ?></strong> |
| 137 |
<p><?php esc_html_e( 'Catch Breadcrumb comes with a responsive design, which means the breadcrumb trails will look elegant on all devices. ', 'catch-breadcrumb' ); ?></p> |
| 138 |
</li> |
| 139 |
|
| 140 |
<li> |
| 141 |
<strong><?php esc_html_e( 'Compatible With All WordPress Themes', 'catch-breadcrumb' ); ?></strong> |
| 142 |
<p><?php esc_html_e( 'Catch Breadcrumb has been crafted in a way that supports all the themes on WordPress. The plugin functions smoothly on every WordPress theme.', 'catch-breadcrumb' ); ?></p> |
| 143 |
</li> |
| 144 |
</ul> |
| 145 |
</div><!-- .content --> |
| 146 |
</div><!-- content-wrapper --> |
| 147 |
</div> <!-- Featured --> |
| 148 |
|
| 149 |
|
| 150 |
<div id="premium-extensions" class="wpcatchtab save"> |
| 151 |
<div class="about-text"> |
| 152 |
<h2><?php esc_html_e( 'Get Catch Breadcrumb Pro -', 'catch-breadcrumb' ); ?> <a href="<?php esc_url( 'https://catchplugins.com/plugins/catch-breadcrumb-pro/' ); ?>" target="_blank"><?php esc_html_e( 'Get It Here!', 'catch-breadcrumb' ); ?></a></h2> |
| 153 |
<p><?php esc_html_e( 'You are currently using the free version of Catch Breadcrumb.', 'catch-breadcrumb' ); ?><br /> |
| 154 |
<a href="<?php esc_url( 'https://catchplugins.com/plugins/' ); ?>" target="_blank"><?php esc_html_e( 'If you have purchased from catchplugins.com, then follow this link to the installation instructions (particularly step 1).', 'catch-breadcrumb' ); ?></a></p> |
| 155 |
</div> |
| 156 |
|
| 157 |
<div class="content-wrapper"> |
| 158 |
<div class="header"> |
| 159 |
<h3><?php esc_html_e( 'Compare Table', 'catch-breadcrumb' ); ?></h3> |
| 160 |
</div><!-- .header --> |
| 161 |
<div class="content"> |
| 162 |
|
| 163 |
<table class="widefat fixed striped posts"> |
| 164 |
<thead> |
| 165 |
<tr> |
| 166 |
<th id="title" class="manage-column column-title column-primary"><?php esc_html_e( 'Features', 'catch-breadcrumb' ); ?></th> |
| 167 |
<th id="free" class="manage-column column-free"><?php esc_html_e( 'Free', 'catch-breadcrumb' ); ?></th> |
| 168 |
<th id="pro" class="manage-column column-pro"><?php esc_html_e( 'Pro', 'catch-breadcrumb' ); ?></th> |
| 169 |
</tr> |
| 170 |
</thead> |
| 171 |
|
| 172 |
<tbody id="the-list" class="ui-sortable"> |
| 173 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 174 |
<td> |
| 175 |
<strong><?php esc_html_e( 'Responsive Design', 'catch-breadcrumb' ); ?></strong> |
| 176 |
</td> |
| 177 |
<td class="column column-free"><div class="table-icons icon-green">✓</div></td> |
| 178 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 179 |
</tr> |
| 180 |
|
| 181 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 182 |
<td> |
| 183 |
<strong><?php esc_html_e( 'Super Easy Setup', 'catch-breadcrumb' ); ?></strong> |
| 184 |
</td> |
| 185 |
<td class="column column-free"><div class="table-icons icon-green">✓</div></td> |
| 186 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 187 |
</tr> |
| 188 |
|
| 189 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 190 |
<td> |
| 191 |
<strong><?php esc_html_e( 'Lightweight', 'catch-breadcrumb' ); ?></strong> |
| 192 |
</td> |
| 193 |
<td class="column column-free"><div class="table-icons icon-green">✓</div></td> |
| 194 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 195 |
</tr> |
| 196 |
|
| 197 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 198 |
<td> |
| 199 |
<strong><?php esc_html_e( 'Breadcrumb Separator', 'catch-breadcrumb' ); ?></strong> |
| 200 |
</td> |
| 201 |
<td class="column column-free"><div class="table-icons icon-green">✓</div></td> |
| 202 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 203 |
</tr> |
| 204 |
|
| 205 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 206 |
<td> |
| 207 |
<strong><?php esc_html_e( 'Shortcode', 'catch-breadcrumb' ); ?></strong> |
| 208 |
</td> |
| 209 |
<td class="column column-free"><div class="table-icons icon-green">✓</div></td> |
| 210 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 211 |
</tr> |
| 212 |
|
| 213 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 214 |
<td> |
| 215 |
<strong><?php esc_html_e( 'Breadcrumb Selector', 'catch-breadcrumb' ); ?></strong> |
| 216 |
</td> |
| 217 |
<td class="column column-free"><div class="table-icons icon-green">✓</div></td> |
| 218 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 219 |
</tr> |
| 220 |
|
| 221 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 222 |
<td> |
| 223 |
<strong><?php esc_html_e( 'Enable on Home Page', 'catch-breadcrumb' ); ?></strong> |
| 224 |
</td> |
| 225 |
<td class="column column-free"><div class="table-icons icon-green">✓</div></td> |
| 226 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 227 |
</tr> |
| 228 |
|
| 229 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 230 |
<td> |
| 231 |
<strong><?php esc_html_e( 'Font Size', 'catch-breadcrumb' ); ?></strong> |
| 232 |
</td> |
| 233 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 234 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 235 |
</tr> |
| 236 |
|
| 237 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 238 |
<td> |
| 239 |
<strong><?php esc_html_e( 'Background Color', 'catch-breadcrumb' ); ?></strong> |
| 240 |
</td> |
| 241 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 242 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 243 |
</tr> |
| 244 |
|
| 245 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 246 |
<td> |
| 247 |
<strong><?php esc_html_e( 'Text Color', 'catch-breadcrumb' ); ?></strong> |
| 248 |
</td> |
| 249 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 250 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 251 |
</tr> |
| 252 |
|
| 253 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 254 |
<td> |
| 255 |
<strong><?php esc_html_e( 'Separator Color', 'catch-breadcrumb' ); ?></strong> |
| 256 |
</td> |
| 257 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 258 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 259 |
</tr> |
| 260 |
|
| 261 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 262 |
<td> |
| 263 |
<strong><?php esc_html_e( 'Breadcrumb Border Color', 'catch-breadcrumb' ); ?></strong> |
| 264 |
</td> |
| 265 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 266 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 267 |
</tr> |
| 268 |
|
| 269 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 270 |
<td> |
| 271 |
<strong><?php esc_html_e( 'Breadcrumb Border Style', 'catch-breadcrumb' ); ?></strong> |
| 272 |
</td> |
| 273 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 274 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 275 |
</tr> |
| 276 |
|
| 277 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 278 |
<td> |
| 279 |
<strong><?php esc_html_e( 'Breadcrumb Font Family', 'catch-breadcrumb' ); ?></strong> |
| 280 |
</td> |
| 281 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 282 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 283 |
</tr> |
| 284 |
|
| 285 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 286 |
<td> |
| 287 |
<strong><?php esc_html_e( 'Breadcrumb Padding Top and Bottom ', 'catch-breadcrumb' ); ?></strong> |
| 288 |
</td> |
| 289 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 290 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 291 |
</tr> |
| 292 |
|
| 293 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 294 |
<td> |
| 295 |
<strong><?php esc_html_e( 'Breadcrumb Margin Right and left', 'catch-breadcrumb' ); ?></strong> |
| 296 |
</td> |
| 297 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 298 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 299 |
</tr> |
| 300 |
|
| 301 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 302 |
<td> |
| 303 |
<strong><?php esc_html_e( 'Breadcrumb Border Thickness and Raduis', 'catch-breadcrumb' ); ?></strong> |
| 304 |
</td> |
| 305 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 306 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 307 |
</tr> |
| 308 |
|
| 309 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 310 |
<td> |
| 311 |
<strong><?php esc_html_e( 'Upload Home Icon', 'catch-breadcrumb' ); ?></strong> |
| 312 |
</td> |
| 313 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 314 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 315 |
</tr> |
| 316 |
|
| 317 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 318 |
<td> |
| 319 |
<strong><?php esc_html_e( 'Breadcrumb Width', 'catch-breadcrumb' ); ?></strong> |
| 320 |
</td> |
| 321 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 322 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 323 |
</tr> |
| 324 |
|
| 325 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 326 |
<td> |
| 327 |
<strong><?php esc_html_e( 'Breadcrumb Font Style', 'catch-breadcrumb' ); ?></strong> |
| 328 |
</td> |
| 329 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 330 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 331 |
</tr> |
| 332 |
|
| 333 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry"> |
| 334 |
<td> |
| 335 |
<strong><?php esc_html_e( 'Box shadow Options', 'catch-breadcrumb' ); ?></strong> |
| 336 |
</td> |
| 337 |
<td class="column column-free"><div class="table-icons icon-red">×</div></td> |
| 338 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td> |
| 339 |
</tr> |
| 340 |
|
| 341 |
</tbody> |
| 342 |
</table> |
| 343 |
</div><!--content----> |
| 344 |
</div><!---content-wrapper---> |
| 345 |
</div> |
| 346 |
</form><!-- breadcrumb-main --> |
| 347 |
</div><!-- .catchp_widget_settings --> |
| 348 |
|
| 349 |
<?php require_once plugin_dir_path( dirname( __FILE__ ) ) . '/partials/sidebar.php'; ?> |
| 350 |
|
| 351 |
</div><!---catch-content-wrapper----> |
| 352 |
|
| 353 |
<?php require_once plugin_dir_path( dirname( __FILE__ ) ) . '/partials/footer.php'; ?> |
| 354 |
|
| 355 |
</div><!-- .wrap --> |
| 356 |
|