- Introduced a new WordPress theme "BackPRO News" with a lightweight magazine-style design. - Added columns for tracking retry attempts and timestamps for unpublished/generated articles in the articles table. - Included remote service metadata fields in the sites table for better management. - Created log files for image replacements, installer actions, OpenAI article generation, and publishing processes. - Implemented a dashboard template for site management, including permalink settings and theme installation options.
30 lines
937 B
PHP
30 lines
937 B
PHP
<?php if (!defined('ABSPATH')) { exit; } ?>
|
|
<!doctype html>
|
|
<html <?php language_attributes(); ?>>
|
|
<head>
|
|
<meta charset="<?php bloginfo('charset'); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
<body <?php body_class(); ?>>
|
|
<?php wp_body_open(); ?>
|
|
|
|
<header class="bp-header">
|
|
<div class="bp-shell bp-header-inner">
|
|
<a class="bp-brand" href="<?php echo esc_url(home_url('/')); ?>">
|
|
<?php echo esc_html(get_bloginfo('name')); ?>
|
|
</a>
|
|
<nav class="bp-nav" aria-label="Main categories">
|
|
<?php foreach (backpro_news_parent_categories() as $cat): ?>
|
|
<a href="<?php echo esc_url(get_category_link($cat)); ?>">
|
|
<?php echo esc_html($cat->name); ?>
|
|
</a>
|
|
<?php endforeach; ?>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="bp-main">
|
|
<div class="bp-shell">
|
|
|