Image genartiona dn temaplte design redesign

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-10 03:58:02 +00:00
parent ce66dadc00
commit 0c693dc1cc
18 changed files with 1717 additions and 214 deletions

View File

@@ -2,6 +2,7 @@
/**
* IGNY8 Metadata Footer
* Shows IGNY8-specific metadata in collapsible format
* Visible only to users with edit_posts capability (Editor, Administrator, Author for own posts)
*
* @package Igny8Bridge
*/
@@ -11,8 +12,8 @@ if (!defined('ABSPATH')) {
exit;
}
// Only show if we have IGNY8 content ID
if (!$content_id) {
// Only show if we have IGNY8 content ID and user has edit permissions
if (!$content_id || !current_user_can('edit_posts')) {
return;
}
?>
@@ -53,6 +54,12 @@ if (!$content_id) {
<td><?php echo esc_html(ucfirst($source)); ?></td>
</tr>
<?php endif; ?>
<?php if ($cluster_name): ?>
<tr>
<th>Cluster Name:</th>
<td><?php echo esc_html($cluster_name); ?></td>
</tr>
<?php endif; ?>
<?php if ($cluster_id): ?>
<tr>
<th>Cluster ID:</th>
@@ -65,6 +72,24 @@ if (!$content_id) {
<td><?php echo esc_html($sector_id); ?></td>
</tr>
<?php endif; ?>
<?php if ($meta_title): ?>
<tr>
<th>Meta Title:</th>
<td><?php echo esc_html($meta_title); ?></td>
</tr>
<?php endif; ?>
<?php if ($meta_description): ?>
<tr>
<th>Meta Description:</th>
<td><?php echo esc_html($meta_description); ?></td>
</tr>
<?php endif; ?>
<?php if ($primary_keyword): ?>
<tr>
<th>Primary Keyword:</th>
<td><?php echo esc_html($primary_keyword); ?></td>
</tr>
<?php endif; ?>
<?php if ($keywords_array): ?>
<tr>
<th>Secondary Keywords:</th>