| 1 |
<!-- * Version: 2.0 --> |
| 2 |
<div class="wrap"> |
| 3 |
<h2>Advanced settings</h2> |
| 4 |
<h2 class="nav-tab-wrapper"> |
| 5 |
<a href="admin.php?page=contact_vr" class="nav-tab">Button contact</a> |
| 6 |
<a href="admin.php?page=contact_vr_showroom" class="nav-tab">Showroom</a> |
| 7 |
<a href="admin.php?page=contact_vr_contact_form" class="nav-tab">Contact form (beta)</a> |
| 8 |
<a href="admin.php?page=contact_vr_all_in_one" class="nav-tab">All in one)</a> |
| 9 |
<a href="admin.php?page=contact_vr_setting" class="nav-tab nav-tab-active">Setting</a> |
| 10 |
</h2> |
| 11 |
<?php if (isset($_GET['settings-updated'])) { ?> |
| 12 |
<div id="message" class="updated"> |
| 13 |
<p><strong><?php esc_html_e('Settings saved.', 'button-contact-vr') ?></strong></p> |
| 14 |
</div> |
| 15 |
<?php } ?> |
| 16 |
|
| 17 |
<form method="post" action="options.php"> |
| 18 |
<?php settings_fields('pzf-settings-group-setting'); ?> |
| 19 |
<table class="form-table"> |
| 20 |
<tr valign="top"> |
| 21 |
<th scope="row">Size scale</th> |
| 22 |
<td> |
| 23 |
<input placeholder="1" type="number" name="setting_size" value="<?php echo esc_attr(get_option('setting_size')); ?>" step="0.1" /> |
| 24 |
<i>Default 1</i><br> |
| 25 |
<i>E.g: 0.8 - 0.9 - 1.1 - 1.2</i> |
| 26 |
</td> |
| 27 |
</tr> |
| 28 |
<tr valign="top"> |
| 29 |
<th rowspan="2" scope="row">Location</th> |
| 30 |
<td style="padding-bottom: 0;"> |
| 31 |
<select id="pzf_location" name="pzf_location"> |
| 32 |
<option value="left" <?php selected(get_option('pzf_location'), 'left'); ?>>Left</option> |
| 33 |
<option value="right" <?php selected(get_option('pzf_location'), 'right'); ?>>Right</option> |
| 34 |
</select> |
| 35 |
</td> |
| 36 |
</tr> |
| 37 |
<tr> |
| 38 |
<td> |
| 39 |
Bottom <input placeholder="0%" type="number" min="0" max="100" name="pzf_location_bottom" value="<?php echo esc_attr(get_option('pzf_location_bottom')); ?>" step="0.1" /> <i>unit %</i> |
| 40 |
</td> |
| 41 |
</tr> |
| 42 |
<tr valign="top"> |
| 43 |
<th scope="row">Turn off effects</th> |
| 44 |
<td> |
| 45 |
<input id="pzf_off_effects" name="pzf_off_effects" type="checkbox" value="1" <?php checked(get_option('pzf_off_effects'), '1'); ?> /> |
| 46 |
</td> |
| 47 |
</tr> |
| 48 |
|
| 49 |
<tr valign="top"> |
| 50 |
<th rowspan="2" scope="row">Hide on</th> |
| 51 |
<td style="padding-bottom: 0;"> |
| 52 |
<input id="pzf_hide_desktop" name="pzf_hide_desktop" type="checkbox" value="1" <?php checked(get_option('pzf_hide_desktop'), '1'); ?> /> Desktop |
| 53 |
</td> |
| 54 |
</tr> |
| 55 |
<tr> |
| 56 |
<td><input id="pzf_hide_mobile" name="pzf_hide_mobile" type="checkbox" value="1" <?php checked(get_option('pzf_hide_mobile'), '1'); ?> /> Mobile |
| 57 |
</td> |
| 58 |
</tr> |
| 59 |
</table> |
| 60 |
|
| 61 |
<?php submit_button(); ?> |
| 62 |
</form> |
| 63 |
|
| 64 |
<hr /> |
| 65 |
|
| 66 |
<div style="max-width: 1200px;"> |
| 67 |
<h2>Try our new version</h2> |
| 68 |
<p style="line-height: 1em;">Ready to try something new? Buttonizer has officially taken over maintenance of this plugin and supports over <b>40+ button actions</b>, including WhatsApp, Zalo, FB Messenger, and many more.</p> |
| 69 |
<p style="line-height: 1em;">All of this power is already included in this plugin. Simply click "Try now" below, and you can always switch back to this legacy version if you prefer. <a href="https://r.buttonizer.io/support/knowledgebase/2617?utm_source=knowledgebase-link&utm_medium=wp-contact-button-plugin" target="_blank">Learn more here</a></p> |
| 70 |
<a href="?page=contact_vr_setting&try_new_version=yes" class="button">Try now</a> |
| 71 |
</div> |
| 72 |
<hr style="margin-top: 15px" /> |
| 73 |
|
| 74 |
<h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2> |
| 75 |
<p> |
| 76 |
<?php |
| 77 |
echo wp_kses( |
| 78 |
sprintf( |
| 79 |
// translators: %s will be replaced with the actual link |
| 80 |
__('For submitting any support queries, feedback, bug reports or feature requests, please visit <a %s>this link</a>.', 'button-contact-vr'), |
| 81 |
'href="https://r.buttonizer.io/support/community?utm_source=wp-plugin-chat-button-legacy" target="_blank"' |
| 82 |
), |
| 83 |
["a" => ["href" => [], "target" => []]] |
| 84 |
); |
| 85 |
?> |
| 86 |
</p> |
| 87 |
</div> |
| 88 |
|