| Current Path : /home/ereika83/www/wp-content/plugins/instasuite-for-wordpress 4 3/admin/ |
| Current File : /home/ereika83/www/wp-content/plugins/instasuite-for-wordpress 4 3/admin/settings.php |
<h1 class="kyvio-logo">
<img src="https://dmuvt0wczath5.cloudfront.net/kyvio_assets/img/logo.png" border="0" />
</h1>
<?php
$token = get_option('instasuite_token');
$fb_app_id = get_option('instasuite_fb_app_id');
if ( isset($_GET['saved']) && $_GET['saved'] == 'true' )
echo '<div class="updated notice"><p>Settings has been saved.</p></div>';
?>
<form id="inst-settings-form" method="post" role="form">
<input type="hidden" name="action" value="instasuite_save" />
<?php wp_nonce_field('instasuite_nonce', '_instasuite_nonce'); ?>
<div class="panel">
<div class="panel-head">
Kyvio Plugin Settings
</div>
<div class="panel-body">
<p>Please enter your Kyvio API Token and hit the big save button below to connect your Kyvio account with WordPress. You can obtain your API Token by <a href="https://kyvio.com/login" target="_blank">login to your Kyvio account</a>, and navigate to your profile menu <code> YOUR NAME » WP Plugin & API Token</code></p>
<hr />
<label>Enter API Token Here</label>
<textarea name="api_token" id="api_token" rows="3"><?php echo esc_textarea($token); ?></textarea>
<hr />
<label>Facebook App ID (optional)</label>
<input type="text" name="fb_app_id" id="fb_app_id" value="<?php echo esc_attr($fb_app_id); ?>" style="padding: 7px; margin: 5px 0; width: 100%" />
<p><small>In order to display the Facebook comment in your WordPress installation at <code><?php echo get_site_url(); ?></code>, you must create a Facebook application <a href="https://developers.facebook.com/" target="_blank">here</a>, and then insert the App ID above.</small></p>
</div>
<div class="panel-footer">
<button type="submit" id="insta-submit" class="insta-btn">Save Settings</button>
</div>
</div>
</form>