feat(shell): polish header/hero overlay and footer zibll classes
Make show-slide header overlay the hero, dual-class nav/footer shells toward zibll selectors, and add a small footer layout bridge for logo, contact, and float buttons.
This commit is contained in:
+6
-6
@@ -103,7 +103,7 @@ $render_link_url = function ($raw) {
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="footer site-footer--<?php echo esc_attr($footer_layout); ?>" data-aksrt-shell="site-footer" role="contentinfo">
|
||||
<footer class="footer site-footer site-footer--<?php echo esc_attr($footer_layout); ?>" data-aksrt-shell="site-footer" role="contentinfo">
|
||||
<?php if (is_active_sidebar('all_footer')) : ?>
|
||||
<div class="site-footer__widgets container-footer">
|
||||
<?php dynamic_sidebar('all_footer'); ?>
|
||||
@@ -123,9 +123,9 @@ $render_link_url = function ($raw) {
|
||||
<?php if ($_has_brand) : ?>
|
||||
<div class="site-footer__brand col-lg-4 col-md-6<?php echo esc_attr($_brand_vis_cls); ?>">
|
||||
<?php if (!empty($footer_brand['img'])) : ?>
|
||||
<img class="site-footer__logo site-footer__logo--day" src="<?php echo esc_url($footer_brand['img']); ?>" alt="<?php echo esc_attr($blog_name); ?>">
|
||||
<img class="site-footer__logo site-footer__logo--day footer-logo" src="<?php echo esc_url($footer_brand['img']); ?>" alt="<?php echo esc_attr($blog_name); ?>">
|
||||
<?php if (!empty($footer_brand['img_dark'])) : ?>
|
||||
<img class="site-footer__logo site-footer__logo--night" src="<?php echo esc_url($footer_brand['img_dark']); ?>" alt="<?php echo esc_attr($blog_name); ?>">
|
||||
<img class="site-footer__logo site-footer__logo--night footer-logo" src="<?php echo esc_url($footer_brand['img_dark']); ?>" alt="<?php echo esc_attr($blog_name); ?>">
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($footer_brand['title'])) : ?>
|
||||
@@ -133,7 +133,7 @@ $render_link_url = function ($raw) {
|
||||
<?php endif; ?>
|
||||
<p class="site-footer__desc"><?php echo esc_html($blog_description); ?></p>
|
||||
<?php if (!empty($footer_contacts)) : ?>
|
||||
<div class="social-row">
|
||||
<div class="social-row footer-contact">
|
||||
<?php foreach ($footer_contacts as $contact) :
|
||||
$c_icon = $contact['icon'] ?? '';
|
||||
$c_url = $contact['url'] ?? '#';
|
||||
@@ -156,7 +156,7 @@ $render_link_url = function ($raw) {
|
||||
<?php if (!empty($friend_links)) : ?>
|
||||
<div class="site-footer__friends">
|
||||
<h5 class="site-footer__friends-title"><?php esc_html_e('友情链接', 'aksrt'); ?></h5>
|
||||
<div class="site-footer__friends-list">
|
||||
<div class="site-footer__friends-list fcode-links">
|
||||
<?php foreach ($friend_links as $fl) : ?>
|
||||
<a href="<?php echo esc_url($fl['url'] ?? '#'); ?>" target="_blank" rel="noopener noreferrer nofollow"><?php echo esc_html($fl['name'] ?? ''); ?></a>
|
||||
<?php endforeach; ?>
|
||||
@@ -279,7 +279,7 @@ $render_link_url = function ($raw) {
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<p class="site-footer__copyright">
|
||||
<p class="site-footer__copyright footer-conter">
|
||||
© <?php echo esc_html(gmdate('Y')); ?>
|
||||
<?php echo esc_html($blog_name); ?>.
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user