Under Construction Template Bug

In the the under construction sction, in the theme option, has the option to put a shortcode of a form. but in the code has a static shortcode (under-construction.php, line 128).

I fix using this code:

<?php if( mfn_opts_get( 'construction-contact' ) ) : ?>
<div class="section section-border-top section-uc-3">
    <div class="section_wrapper clearfix">
        <div class="items_group clearfix">
            <div class="column one-fourth column_column"></div>
            <div class="column one-second column_column">
                <div data-anim-type="fadeInUpLarge" class="animate fadeInUpLarge">
                    <?php echo do_shortcode( mfn_opts_get( 'construction-contact' ) ); ?>
                </div>
            </div>
            <div class="column one-fourth column_column"></div>
        </div>
    </div>
</div>
<?php endif; ?>

Comments

Sign In or Register to comment.