✏️ 正在编辑: footer.php
路径:
/home/h359620/public_html/wp-content/themes/datis/footer.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php if (! defined('ABSPATH')) exit; ?> <footer class="site-footer"> <?php $opt = get_option('datis_theme_options', []); $footer_id = 0; if (!empty($opt['datis_elementor_footer'])) { $footer_id = (int) $opt['datis_elementor_footer']; } if ($footer_id > 0) { if (did_action('elementor/loaded') && class_exists('\Elementor\Plugin')) { echo \Elementor\Plugin::instance()->frontend->get_builder_content_for_display($footer_id); } else { $p = get_post($footer_id); if ($p && $p->post_status === 'publish') { echo apply_filters('the_content', $p->post_content); } } } ?> </footer> <?php wp_footer(); ?> </body> </html>
💾 保存文件
← 返回文件管理器