| Server IP : 80.74.154.100 / Your IP : 216.73.217.0 Web Server : Apache System : Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64 User : onlineadmin ( 10487) PHP Version : 8.5.7 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/plugins/fitvids-for-wordpress/ |
Upload File : |
<?php
if ( ! function_exists('add_action')) {
echo "Hi there! Nice try. Come again.";
exit;
}
?>
<div id="fitvids-wp-page" class="wrap">
<h1>FitVids for WordPress</h1>
<?php echo $this->message; ?>
<form method="post" action="<?php echo esc_attr($this->request['uri']); ?>">
<?php wp_nonce_field('fitvids_action', 'fitvids_ref'); ?>
<h2>Advanced Settings</h2>
<p>No configuration is required. Need help? Click the help tab at the top right of this page.</p>
<table class="form-table">
<tbody>
<tr>
<th scope="row"><label for="fitvids_wp_selector">FitVids Main Selector</label></th>
<td>
<input id="fitvids_wp_selector"
placeholder="body"
value="<?php echo esc_attr( get_option('fitvids_wp_selector', 'body') ); ?>"
name="fitvids_wp_selector"
type="text"
class="regular-text"
>
</td>
</tr>
<tr>
<th scope="row"><label for="fitvids_wp_custom_selector">FitVids Custom Selector</label></th>
<td>
<input placeholder="iframe[src^='http://mycoolvideosite.com']"
value="<?php echo esc_attr(get_option('fitvids_wp_custom_selector')); ?>"
name="fitvids_wp_custom_selector"
type="text"
class="regular-text"
id="fitvids_wp_custom_selector"
>
</td>
</tr>
<tr>
<th scope="row"><label for="fitvids_wp_ignore_selector">FitVids Ignore Selector</label></th>
<td>
<input placeholder=".ignore-item, .ignore-section"
value="<?php echo esc_attr(get_option('fitvids_wp_ignore_selector')); ?>"
name="fitvids_wp_ignore_selector"
type="text"
class="regular-text"
id="fitvids_wp_ignore_selector"
>
</td>
</tr>
</tbody>
</table>
<h2>Extras</h2>
<p>Enable the Google jQuery CDN if FitVids is not working. You might be missing jQuery.</p>
<table class="form-table">
<tbody>
<tr>
<th scope="row">Use Google CDN</th>
<td>
<input type="hidden" name="fitvids_wp_jq" value="false">
<label>
<input id="fitvids_wp_jq"
value="true"
name="fitvids_wp_jq"
type="checkbox"
<?php $this->print_cdn_field_checked(); ?>
>
My theme is missing jQuery. Add jQuery 3.4.1 from Google CDN.
</label>
</td>
</tr>
</tbody>
</table>
<p class="submit"><input type="submit" name="submit" class="button-primary" value="Save Changes"/>
</form>
</div>