<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Nextpage
 */

$nextpage_footer_builder_id = ( !empty( $nextpage_page_meta[ 'footer-builder-id' ] ) ? $nextpage_page_meta[ 'footer-builder-id' ] : nextpage_get_option( 'footer-builder-id' ) );
?>

<div class="nextpage-footer-builder">
    <?php

    $nextpage_footer_builder = \Elementor\Plugin::instance();
    $nextpage_footer_builder_content = $nextpage_footer_builder->frontend->get_builder_content( $nextpage_footer_builder_id );
    echo sprintf(__('%s', 'nextpage'), $nextpage_footer_builder_content); // phpcs:ignore WordPress.WP.I18n.NoEmptyStrings
     ?>
</div>