update
This commit is contained in:
@@ -29,11 +29,12 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($article['wp_post_id'] && !empty($article['site_url'])): ?>
|
||||
<?php $publishedUrl = !empty($article['wp_post_url']) ? (string) $article['wp_post_url'] : ((string) $article['site_url'] . '/?p=' . (int) $article['wp_post_id']); ?>
|
||||
<div class="alert alert-info d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
<i class="bi bi-wordpress me-1"></i>
|
||||
Post WordPress ID: <strong><?= $article['wp_post_id'] ?></strong>
|
||||
| <a href="<?= htmlspecialchars($article['site_url']) ?>/?p=<?= $article['wp_post_id'] ?>" target="_blank">Zobacz na stronie</a>
|
||||
| <a href="<?= htmlspecialchars($publishedUrl) ?>" target="_blank">Zobacz na stronie</a>
|
||||
</div>
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<input type="file" id="imageFile" accept="image/jpeg,image/png,image/gif,image/webp" class="form-control form-control-sm" style="max-width: 250px;">
|
||||
|
||||
Reference in New Issue
Block a user