Continues the Bookshelf history. The three plugins tracked there are consolidated into umbra-bookshelf/ and this repository becomes the canonical home for the plugin and the theme. bd-bookshelf/ -> theme/ separate artifact, name unchanged (root specs) -> umbra-bookshelf/spec/ aligned to Umbra Bookshelf old plugin zips -> archive/pre-umbra-releases/ Adds a repository README and drops the Bookshelf closure notice.
94 lines
3.5 KiB
PHP
94 lines
3.5 KiB
PHP
<?php
|
|
// Copyright 2026 Umbra Tools (umbratools.com)
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/**
|
|
* Template Name: About
|
|
*
|
|
* @package BD_Murphy
|
|
*/
|
|
|
|
get_header();
|
|
?>
|
|
|
|
<div class="about-container">
|
|
<div class="about-left-column">
|
|
<?php
|
|
if (have_posts()) :
|
|
while (have_posts()) :
|
|
the_post();
|
|
the_content();
|
|
wp_link_pages(array(
|
|
'before' => '<div class="page-links">' . esc_html__('Pages:', 'bd-bookshelf'),
|
|
'after' => '</div>',
|
|
));
|
|
?>
|
|
|
|
<?php if (class_exists('BD_BookShelfHelper')) : ?>
|
|
<div class="awards-section">
|
|
<h3><?php esc_html_e('Awards & Recognition', 'bd-bookshelf'); ?></h3>
|
|
<?php
|
|
$awards = BD_BookShelfHelper::get_awards();
|
|
if ($awards) :
|
|
?>
|
|
<ul class="awards-list">
|
|
<?php foreach ($awards as $award) : ?>
|
|
<li class="award-item">
|
|
<span class="award-dot" aria-hidden="true"></span>
|
|
<?php echo esc_html($award); ?>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
<?php endif; ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<div class="donate-section">
|
|
<h3><?php esc_html_e('Support the Author', 'bd-bookshelf'); ?></h3>
|
|
<?php bdm_display_donate_buttons(); ?>
|
|
</div>
|
|
|
|
<?php if (get_theme_mod('show_signup_link', true)) : ?>
|
|
<div class="signup-section">
|
|
<h4><?php esc_html_e('Stay Updated', 'bd-bookshelf'); ?></h4>
|
|
<p><?php esc_html_e('Sign up to receive updates about new releases, news, and exclusive content.', 'bd-bookshelf'); ?></p>
|
|
<a href="<?php echo esc_url(home_url('/signup/')); ?>" class="signup-btn">
|
|
<?php esc_html_e('Sign up for updates', 'bd-bookshelf'); ?>
|
|
</a>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php
|
|
endwhile;
|
|
endif;
|
|
?>
|
|
</div>
|
|
|
|
<aside class="about-right-column">
|
|
<div class="about-sidebar">
|
|
<div class="author-photo-container">
|
|
<h3><?php esc_html_e('About the Author', 'bd-bookshelf'); ?></h3>
|
|
<?php bdm_display_author_photo_thumbnail(); ?>
|
|
</div>
|
|
|
|
<?php if (get_theme_mod('show_newsletter_signup', true)) : ?>
|
|
<div class="signup-card">
|
|
<h4><?php esc_html_e('Newsletter', 'bd-bookshelf'); ?></h4>
|
|
<p><?php esc_html_e('Get notified about new releases and updates.', 'bd-bookshelf'); ?></p>
|
|
<a href="<?php echo esc_url(home_url('/signup/')); ?>" class="signup-btn">
|
|
<?php esc_html_e('Sign up for updates', 'bd-bookshelf'); ?>
|
|
</a>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?php if (is_active_sidebar('home-sidebar')) : ?>
|
|
<div class="about-goodreads-widget">
|
|
<?php dynamic_sidebar('home-sidebar'); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
|
|
<?php
|
|
get_footer();
|