plugin fixes

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-01 07:59:19 +00:00
parent 04f04af813
commit b2012e9563
6 changed files with 449 additions and 57 deletions

View File

@@ -92,29 +92,6 @@ $default_post_status = get_option('igny8_default_post_status', 'draft');
<form method="post" action="">
<?php wp_nonce_field('igny8_settings_nonce'); ?>
<div class="igny8-api-form-group">
<label for="igny8_site_id">
<?php _e('Site ID', 'igny8-bridge'); ?>
<span style="color: #EF4444;">*</span>
</label>
<input
type="text"
id="igny8_site_id"
name="igny8_site_id"
value=""
placeholder="<?php _e('e.g., 123', 'igny8-bridge'); ?>"
required
/>
<p class="igny8-api-form-description">
<?php _e('The numeric Site ID from your IGNY8 app. You can find it in several ways:', 'igny8-bridge'); ?>
</p>
<ul style="margin-left: 20px; margin-top: 8px; color: #6B7280;">
<li><?php _e('In the Site Settings page URL: look for a number after "/sites/" (e.g., https://app.igny8.com/sites/123/settings → Site ID is 123)', 'igny8-bridge'); ?></li>
<li><?php _e('In your IGNY8 dashboard: navigate to Settings → Sites, and the Site ID is displayed next to each site', 'igny8-bridge'); ?></li>
<li><?php _e('From your account admin: contact your IGNY8 account administrator if you need help finding your Site ID', 'igny8-bridge'); ?></li>
</ul>
</div>
<div class="igny8-api-form-group">
<label for="igny8_api_key">
<?php _e('API Key', 'igny8-bridge'); ?>
@@ -125,13 +102,13 @@ $default_post_status = get_option('igny8_default_post_status', 'draft');
id="igny8_api_key"
name="igny8_api_key"
value=""
placeholder="<?php _e('sk_live_xxxxxxxxxxxxx', 'igny8-bridge'); ?>"
placeholder="<?php _e('igny8_site_5_1764575388582_u671q2e2mv', 'igny8-bridge'); ?>"
required
/>
<p class="igny8-api-form-description">
<?php printf(
__('Get your API key from the <a href="%s" target="_blank">IGNY8 app integrations page</a>. It starts with "sk_live_" or "sk_test_".', 'igny8-bridge'),
'https://app.igny8.com/sites/5/settings?tab=integrations'
__('Get your API key from the <a href="%s" target="_blank">IGNY8 app integrations page</a>. The API key format includes your site ID.', 'igny8-bridge'),
'https://app.igny8.com'
); ?>
</p>
</div>