PluginProbe
WP-Stateless – Google Cloud Storage / trunk
WP-Stateless – Google Cloud Storage vtrunk
4.4.3 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 All 62 releases
wp-stateless / static / views / addons-tab.php

addons-tab.php in WP-Stateless – Google Cloud Storage trunk, at static/views/addons-tab.php

109 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <p>
2 <?php _e('Some WordPress plugins override or provide additional features for the Media Library, image upload, and processing. These add-ons offer compatibility features to ensure smooth operation and support the behavior of other plugins alongside WP-Stateless.', ud_get_stateless_media()->domain); ?>
3 </p>
4
5 <p>
6 <?php _e(
7 sprintf(
8 "If you experience any issues please contact us on <a href='%s' target='_blank' rel='noreferrer nofollow'>GitHub</a> or <a href='%s' target='_blank' rel='noreferrer nofollow'>Support page</a>.",
9 'https://github.com/udx/wp-stateless/issues',
10 'https://wordpress.org/support/plugin/wp-stateless/'
11 ),
12 ud_get_stateless_media()->domain
13 );
14 ?>
15 </p>
16
17 <div class="addons-filter">
18 <ul class="subsubsub">
19 <?php
20 foreach ($filters as $id => $filter) {
21 ?>
22
23 <li class="<?php echo $id ?>">
24 <a href="<?php printf($url, $id); ?>" <?php if ( $id == $current_filter ) echo 'class="current" aria-current="page"'; ?>>
25 <?php printf($filter->title, $filter->count); ?>
26 </a>
27 <?php if ( $id !== 'inactive' ) echo '|'; ?>
28 </li>
29
30 <?php
31 }
32 ?>
33 </ul>
34 </div>
35
36 <div class="addons-list">
37 <?php foreach ($addons as $id => $addon) : ?>
38
39 <div class="addon-card <?php echo $addon->card_class;?>">
40
41 <?php if ($addon->status) : ?>
42 <div class="addon-status"><?php echo $addon->status; ?></div>
43 <?php endif; ?>
44
45 <div class="addon-head">
46 <div class="addon-icon">
47 <a href="<?php echo $addon->link ?>" target="_blank">
48 <img src="<?php echo $addon->icon; ?>" alt="<?php echo $addon->title; ?>">
49 </a>
50 </div>
51
52 <div class="addon-info">
53 <h2 class="addon-title">
54 <a href="<?php echo $addon->link; ?>" target="_blank"><?php echo $addon->title; ?></a>
55 </h2>
56
57 <div class="addon-description"><?php echo $addon->description; ?></div>
58 </div>
59 </div>
60
61 <div class="addon-actions">
62 <div class="hs-web-interactive-inline hs-wrap" style="" data-hubspot-wrapper-cta-id="<?php echo $addon->hubspot_id?>">
63 <?php if ( !empty($addon->activate_link) ) : ?>
64 <a href="<?php echo $addon->activate_link?>"
65 class="button-action button button-primary <?php if ( $addon->active ) echo 'disabled'; ?>"
66 >Activate</a>
67 <?php else : ?>
68
69 <?php if ( !empty($addon->hubspot_link) ) : ?>
70 <a href="<?php echo $addon->hubspot_link?>"
71 class="hs-inline-web-interactive-<?php echo $addon->hubspot_id?> button-action button button-primary"
72 data-hubspot-cta-id="<?php echo $addon->hubspot_id?>"
73 target="_blank" rel="noopener" crossorigin="anonymous" onerror="this.style.display='none'"
74 >Download</a>
75 <?php else : // HubSpot does not work as expected ?>
76 <a href="<?php echo $addon->wp?>"
77 class="button-action button button-primary"
78 target="_blank" rel="noopener" crossorigin="anonymous"
79 >Download</a>
80 <?php endif; ?>
81
82 <?php endif; ?>
83 </div>
84
85 <div class="addon-secondary-actions">
86 <a href="<?php echo $addon->link?>" class="addon-secondary-link" target="_blank" rel="noopener" crossorigin="anonymous">
87 <span class="dashicons dashicons-book-alt"></span> <?php _e('Docs', ud_get_stateless_media()->domain)?>
88 </a>
89
90 <?php if ($addon->wp) : ?>
91 <a href="<?php echo $addon->wp?>" class="addon-secondary-link" target="_blank" rel="noopener" crossorigin="anonymous">
92 <span class="dashicons dashicons-wordpress"></span> <?php _e('WordPress', ud_get_stateless_media()->domain)?>
93 </a>
94 <?php endif; ?>
95
96 <?php if ($addon->repo) : ?>
97 <a href="https://github.com/<?php echo $addon->repo?>" class="addon-secondary-link" target="_blank" rel="noopener" crossorigin="anonymous">
98 <img src="https://github.githubassets.com/favicons/favicon.svg" class="gh-icon"></span> <?php _e('GitHub', ud_get_stateless_media()->domain)?>
99 </a>
100 <?php endif; ?>
101 </div>
102 </div>
103
104 </div>
105
106 <?php endforeach; ?>
107 </div>
108
109