Image genartiona dn temaplte design redesign
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user