| 1 |
<?php |
| 2 |
/* |
| 3 |
* Page Name: PRO FEATURES 🚀 |
| 4 |
*/ |
| 5 |
|
| 6 |
$features = [ |
| 7 |
|
| 8 |
[ |
| 9 |
'icon' => 'fa-solid fa-terminal', |
| 10 |
'bg' => '#e7332e', |
| 11 |
'title' => __( 'Tooltip', 'button-generation' ), |
| 12 |
'desc' => __( ' Show helpful notes when hovering over buttons.', 'button-generation' ), |
| 13 |
], |
| 14 |
[ |
| 15 |
'icon' => 'fa-solid fa-swatchbook', |
| 16 |
'bg' => '#4CAF50', |
| 17 |
'title' => __( 'Stylish Hover Animations', 'button-generation' ), |
| 18 |
'desc' => __( 'Bring your buttons to life with smooth hover transitions. ', 'button-generation' ), |
| 19 |
], |
| 20 |
[ |
| 21 |
'icon' => 'fa-solid fa-info-circle', |
| 22 |
'bg' => '#4ec477', |
| 23 |
'title' => __( 'Informative Badges', 'button-generation' ), |
| 24 |
'desc' => __( 'Add informative badges to your buttons. These badges act like mini signs that provide additional context or value to users, boosting the effectiveness of your buttons.', 'button-generation' ), |
| 25 |
], |
| 26 |
[ |
| 27 |
'icon' => 'fa-solid fa-file', |
| 28 |
'bg' => '#e7332e', |
| 29 |
'title' => __( 'Flexible Placement', 'button-generation' ), |
| 30 |
'desc' => __( 'Auto-insert buttons before/after post content. ', 'button-generation' ), |
| 31 |
], |
| 32 |
[ |
| 33 |
'icon' => 'fa-solid fa-square', |
| 34 |
'bg' => '#e7332e', |
| 35 |
'title' => __( 'Background Hover Effect', 'button-generation' ), |
| 36 |
'desc' => __( 'Shift background color on hover.', 'button-generation' ), |
| 37 |
], |
| 38 |
|
| 39 |
[ |
| 40 |
'icon' => 'fa-solid fa-icons', |
| 41 |
'bg' => '#e7332e', |
| 42 |
'title' => __( 'Icon Hover Effect', 'button-generation' ), |
| 43 |
'desc' => __( ' Animate icon behavior during hover.', 'button-generation' ), |
| 44 |
], |
| 45 |
|
| 46 |
[ |
| 47 |
'icon' => 'fa-solid fa-border-top-left', |
| 48 |
'bg' => '#e7332e', |
| 49 |
'title' => __( 'Border Hover Effect', 'button-generation' ), |
| 50 |
'desc' => __( 'Add slick animated borders.', 'button-generation' ), |
| 51 |
], |
| 52 |
|
| 53 |
[ |
| 54 |
'icon' => 'fa-solid fa-check-double', |
| 55 |
'bg' => '#e7332e', |
| 56 |
'title' => __( 'Attention Seekers', 'button-generation' ), |
| 57 |
'desc' => __( '13 built-in animations to grab attention. ', 'button-generation' ), |
| 58 |
], |
| 59 |
|
| 60 |
|
| 61 |
[ |
| 62 |
'icon' => 'fa-solid fa-image', |
| 63 |
'bg' => '#2196F3', |
| 64 |
'title' => __( 'Custom Icons, Emojis & Letters', 'button-generation' ), |
| 65 |
'desc' => __( 'Upload your own icons or use emojis and letters for creative, unique, or casual designs. ', 'button-generation' ), |
| 66 |
], |
| 67 |
|
| 68 |
[ |
| 69 |
'icon' => 'fa-solid fa-share-nodes', |
| 70 |
'bg' => '#e7332e', |
| 71 |
'title' => __( 'Social Sharing', 'button-generation' ), |
| 72 |
'desc' => __( 'Include social sharing links from 30+ services to help users share your content and boost traffic. ', 'button-generation' ), |
| 73 |
], |
| 74 |
|
| 75 |
[ |
| 76 |
'icon' => 'fa-solid fa-language', |
| 77 |
'bg' => '#c65ebc', |
| 78 |
'title' => __( 'Translate', 'button-generation' ), |
| 79 |
'desc' => __( 'Let visitors translate your website content in real time. ', 'button-generation' ), |
| 80 |
], |
| 81 |
|
| 82 |
[ |
| 83 |
'icon' => 'fa-solid fa-print', |
| 84 |
'bg' => '#5fddc5', |
| 85 |
'title' => __( 'Print', 'button-generation' ), |
| 86 |
'desc' => __( 'PAdd a quick-access print button that launches the browser print dialog for easy page printing.', 'button-generation' ), |
| 87 |
], |
| 88 |
[ |
| 89 |
'icon' => 'fa-solid fa-arrow-right-arrow-left', |
| 90 |
'bg' => '#437fb2', |
| 91 |
'title' => __( 'Next / Previous Post Navigation', 'button-generation' ), |
| 92 |
'desc' => __( 'Automatically link to the next or previous post within the same category to keep visitors engaged and moving through your content.', 'button-generation' ), |
| 93 |
], |
| 94 |
[ |
| 95 |
'icon' => 'fa-solid fa-arrows-up-down', |
| 96 |
'bg' => '#f2c35d', |
| 97 |
'title' => __( 'Scroll to Top / Bottom', 'button-generation' ), |
| 98 |
'desc' => __( 'Add one-click scroll links that take users instantly to the top or bottom of the page — ideal for long content pages. ', 'button-generation' ), |
| 99 |
], |
| 100 |
|
| 101 |
[ |
| 102 |
'icon' => 'fa-solid fa-link', |
| 103 |
'bg' => '#ea84ad', |
| 104 |
'title' => __( 'Activate by URL', 'button-generation' ), |
| 105 |
'desc' => __( 'Display the button only when the current page URL contains specific keywords or parameters. ', 'button-generation' ), |
| 106 |
], |
| 107 |
|
| 108 |
[ |
| 109 |
'icon' => 'fa-solid fa-handshake-angle', |
| 110 |
'bg' => '#437fb2', |
| 111 |
'title' => __( 'Activate by Referrer URL', 'button-generation' ), |
| 112 |
'desc' => __( 'Trigger button display based on the visitor’s referrer — useful for targeting traffic from ads or campaigns. ', 'button-generation' ), |
| 113 |
], |
| 114 |
|
| 115 |
[ |
| 116 |
'icon' => 'fa-solid fa-display', |
| 117 |
'bg' => '#ff9800', |
| 118 |
'title' => __( 'Comprehensive Display Controls', 'button-generation' ), |
| 119 |
'desc' => __( 'Use shortcodes, post types, tags, categories, or archive pages to fine-tune where and when your menu appears. ', 'button-generation' ), |
| 120 |
], |
| 121 |
|
| 122 |
[ |
| 123 |
'icon' => 'fa-solid fa-tablet-screen-button', |
| 124 |
'bg' => '#df6928', |
| 125 |
'title' => __( 'Device-Based Visibility', 'button-generation' ), |
| 126 |
'desc' => __( 'Remove the button entirely on mobile or desktop devices to optimize performance and layout per screen. ', 'button-generation' ), |
| 127 |
], |
| 128 |
|
| 129 |
[ |
| 130 |
'icon' => 'fa-solid fa-users', |
| 131 |
'bg' => '#4CAF50', |
| 132 |
'title' => __( 'User Role Permissions', 'button-generation' ), |
| 133 |
'desc' => __( 'Restrict button visibility for specific user roles (e.g., Admins, Editors, Subscribers).', 'button-generation' ), |
| 134 |
], |
| 135 |
[ |
| 136 |
'icon' => 'fa-solid fa-language', |
| 137 |
'bg' => '#673ab7', |
| 138 |
'title' => __( 'Multilingual Support', 'button-generation' ), |
| 139 |
'desc' => __( 'Show button based on language preferences. Compatible with WPML and Polylang.', 'button-generation' ), |
| 140 |
], |
| 141 |
[ |
| 142 |
'icon' => 'fa-solid fa-calendar-day', |
| 143 |
'bg' => '#3f51b5', |
| 144 |
'title' => __( 'Scheduling', 'button-generation' ), |
| 145 |
'desc' => __( 'Schedule button appearances based on specific days, times, and dates. This allows you to promote temporary events or campaigns without cluttering your website permanently. ', 'button-generation' ), |
| 146 |
], |
| 147 |
|
| 148 |
[ |
| 149 |
'icon' => 'fa-brands fa-chrome', |
| 150 |
'bg' => '#3f51b5', |
| 151 |
'title' => __( 'Browser Compatibility', 'button-generation' ), |
| 152 |
'desc' => __( 'Ensure your buttons display correctly across a wide range of browsers. If necessary, you can choose to hide menus for specific browsers to address compatibility issues with outdated software versions. ', 'button-generation' ), |
| 153 |
], |
| 154 |
|
| 155 |
[ |
| 156 |
'icon' => 'fa-solid fa-chart-line', |
| 157 |
'bg' => '#3f51b5', |
| 158 |
'title' => __( 'Google Analytics Integration', 'button-generation' ), |
| 159 |
'desc' => __( ' Track click behavior directly in GA. ', 'button-generation' ), |
| 160 |
], |
| 161 |
]; |
| 162 |
|
| 163 |
?> |
| 164 |
|
| 165 |
<div class="wowp-pro-upgrade"> |
| 166 |
<div> |
| 167 |
<h3>Unlock PRO Features</h3> |
| 168 |
<p>Upgrade to Button Generator Pro and get advanced features like</p> |
| 169 |
<a href="https://wow-estore.com/item/button-generator-pro/" target="_blank" class="button button-primary">Get Button Generator Pro </a> |
| 170 |
</div> |
| 171 |
<dl class="wowp-pro__profits"> |
| 172 |
<div class="wowp-pro__profit"> |
| 173 |
<dt><span class="wpie-icon wpie_icon-money-time"></span>No Yearly Fees</dt> |
| 174 |
<dd>One-time payment. Use it forever.</dd> |
| 175 |
</div> |
| 176 |
<div class="wowp-pro__profit"> |
| 177 |
<dt><span class="wpie-icon wpie_icon-refund"></span>14-Day Money-Back Guarantee</dt> |
| 178 |
<dd>Try it risk-free. Get a full refund if you’re not satisfied.</dd> |
| 179 |
</div> |
| 180 |
<div class="wowp-pro__profit"> |
| 181 |
<dt><span class="wpie-icon wpie_icon-cloud-data-sync"></span>Lifetime Free Updates</dt> |
| 182 |
<dd>Always stay up to date — at no extra cost.</dd> |
| 183 |
</div> |
| 184 |
<div class="wowp-pro__profit"> |
| 185 |
<dt><span class="wpie-icon wpie_icon-customer-support"></span>Priority Support</dt> |
| 186 |
<dd>Fast, friendly, and expert help whenever you need it.</dd> |
| 187 |
</div> |
| 188 |
</dl> |
| 189 |
|
| 190 |
</div> |
| 191 |
|
| 192 |
<div class="wowp-pro-features"> |
| 193 |
|
| 194 |
<?php foreach ( $features as $feature ) : ?> |
| 195 |
|
| 196 |
<?php if ( ! empty( $feature['icon'] ) ): ?> |
| 197 |
<div class="wowp-pro-feature"> |
| 198 |
<div class="wowp-pro-feature__icon" style="background: <?php echo esc_attr( $feature['bg'] ); ?>"> |
| 199 |
<span class="<?php echo esc_attr( $feature['icon'] ); ?>"></span> |
| 200 |
</div> |
| 201 |
<div class="wowp-pro-feature__content"> |
| 202 |
<div class="wowp-pro-feature__title"> |
| 203 |
<?php echo esc_html( $feature['title'] ); ?> |
| 204 |
</div> |
| 205 |
<div class="wowp-pro-feature__desc"> |
| 206 |
<?php echo esc_html( $feature['desc'] ); ?> |
| 207 |
</div> |
| 208 |
</div> |
| 209 |
</div> |
| 210 |
<?php endif; ?> |
| 211 |
<?php endforeach; ?> |
| 212 |
</div> |
| 213 |
<?php |
| 214 |
|