hesabixWpTheme/footer.php

56 lines
2.7 KiB
PHP

<?php
/**
* فوتر — چهار ستون ثابت؛ هر ستون ویجت یا محتوای پیش‌فرض
*
* @package Hesabix2
*/
$wrap_main = 'layout-wrap site-footer__main-wrap';
$wrap_bottom = 'layout-wrap site-footer__bottom-wrap';
?>
<footer class="site-footer" role="contentinfo">
<div class="site-footer__accent" aria-hidden="true"></div>
<div class="site-footer__main">
<div class="<?php echo esc_attr($wrap_main); ?>">
<div class="footer-grid footer-cols-4">
<?php
if (function_exists('hesabix2_render_footer_brand_column')) {
hesabix2_render_footer_brand_column();
}
if (function_exists('hesabix2_render_footer_quick_column')) {
hesabix2_render_footer_quick_column();
}
if (function_exists('hesabix2_render_footer_resources_column')) {
hesabix2_render_footer_resources_column();
}
if (function_exists('hesabix2_render_footer_contact_column')) {
hesabix2_render_footer_contact_column();
}
?>
</div>
</div>
</div>
<div class="site-footer__bottom">
<div class="<?php echo esc_attr($wrap_bottom); ?>">
<div class="site-footer__bottom-inner">
<div class="site-footer__legal">
<p class="site-footer__copyright">
© <?php echo esc_html(gmdate('Y')); ?> <?php echo esc_html(get_bloginfo('name')); ?> —
<?php echo esc_html(function_exists('hesabix2_brand_company_name') ? hesabix2_brand_company_name() : 'شرکت توسعه فناوری سرکش'); ?>.
</p>
<p class="site-footer__license">
حسابیکس محصول شرکت توسعه فناوری سرکش است. نرم‌افزار تحت مجوز <a href="https://www.gnu.org/licenses/gpl-3.0.html" target="_blank" rel="noopener noreferrer" class="site-footer__license-link">GNU GPL نسخه&nbsp;۳</a>؛ نام و هویت تجاری مطابق <a href="<?php echo esc_url(function_exists('hesabix2_brand_page_url') ? hesabix2_brand_page_url() : home_url('/brand/')); ?>">دستورالعمل برند</a> محفوظ است.
</p>
</div>
<p class="site-footer__hosting">
با خاطری آسوده استوار بر روی راهکارهای ابری <a href="https://parspack.com" target="_blank" rel="noopener noreferrer" class="footer-parspack-link">پارسپک</a>
</p>
</div>
</div>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>