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 ); $avia_config = $old_avia_config; /* was removed in 4.2.7 before rollout - should not break the output - can be removed completly when no errors are reported ! * "; if(isset($avia_config['fullscreen_image'])) { ?> "; } ?> ' id='scroll-top-link' >
* tag of your theme, or you will break many plugins, which * generally use this hook to reference JavaScript files. */ wp_footer(); ?>