'; } /** * Fired after a possible footer container has been added and actual footer output starts * . * @since 4.8.6.3 */ do_action( 'ava_before_footer_output' ); /* * Check if we should display a page content as footer */ if( ! $blank && in_array( $footer_option, array( 'page_in_footer_socket', 'page_in_footer' ) ) ) { /** * Allows 3rd parties to change page id's, e.g. translation plugins */ $post = AviaCustomPages()->get_custom_page_object( 'footer_page', '' ); if( ( $post instanceof WP_Post ) && ( $post->ID != $the_id ) ) { /** * Make sure that footerpage is set to fullwidth */ $old_avia_config = $avia_config; $avia_config['layout']['current'] = array( 'content' => 'av-content-full alpha', 'sidebar' => 'hidden', 'meta' => '', 'entry' => '', 'main' => 'fullsize' ); $builder_stat = ( 'active' == Avia_Builder()->get_alb_builder_status( $post->ID ) ); $avia_config['conditionals']['is_builder'] = $builder_stat; $avia_config['conditionals']['is_builder_template'] = $builder_stat; /** * @used_by config-bbpress\config.php * @since 4.5.6.1 * @param WP_Post $post * @param int $the_id */ do_action( 'ava_before_page_in_footer_compile', $post, $the_id ); $content = Avia_Builder()->compile_post_content( $post ); /** * Remove leading
tag that is added by 'the_content' filter * https://kriesi.at/support/topic/small-gutenburg-issue/ * * @since 4.8.8 */ $content = trim( $content ); if( 0 === strpos( $content, '
' ) ) { $content = substr( $content, 3 ); } $avia_config = $old_avia_config; /** * @since 4.7.4.1 * @param string * @param WP_Post $post * @param int $the_id */ $extra_class = apply_filters( 'avf_page_as_footer_extra_classes', 'footer-page-content footer_color', $post, $the_id ); /** * Wrap footer page in case we need extra CSS changes * * @since 4.7.4.1 */ echo '
'; } } /** * Check if we should display a footer */ if( ! $blank && $footer_option != 'nofooterarea' ) { if( in_array( $footer_option, array( 'all', 'nosocket' ) ) ) { //get columns $columns = avia_get_option('footer_columns'); ?> " . get_bloginfo('name') . '' ) ); // you can filter and remove the backlink with an add_filter function // from your themes (or child themes) functions.php file if you dont want to edit this file // you can also remove the kriesi.at backlink by adding [nolink] to your custom copyright field in the admin area // you can also just keep that link. I really do appreciate it ;) $kriesi_at_backlink = kriesi_backlink( get_option( THEMENAMECLEAN . "_initial_version" ), 'Enfold' ); if( $copyright && strpos( $copyright, '[nolink]' ) !== false ) { $kriesi_at_backlink = ''; $copyright = str_replace( '[nolink]', '', $copyright ); } /** * @since 4.5.7.2 * @param string $copyright * @param string $copyright_option * @return string */ $copyright_option = avia_get_option( 'copyright' ); $copyright = apply_filters( 'avf_copyright_info', $copyright, $copyright_option ); if( in_array( $footer_option, array( 'all', 'nofooterwidgets', 'page_in_footer_socket' ) ) ) { $aria_label = 'aria-label="' . __( 'Copyright and company info', 'avia_framework' ) . '"'; /** * @since 6.0.3 * @param string $aria_label * @param string $context * @param mixed $additional_args * @return string */ $aria_label = apply_filters( 'avf_aria_label_for_footer', $aria_label, __FILE__, null ); ?> '; // class="av-curtain-footer-container" } /************************* ?> "; if( isset( $avia_config['fullscreen_image'] ) ) { ?> "; } ?> ' id='scroll-top-link' tabindex='-1'> * tag of your theme, or you will break many plugins, which * generally use this hook to reference JavaScript files. */ wp_footer(); ?>