CFA Text and Link Not Working

Hello,

The CFA button and respective text doesn’t seem to be working. My website is located at neotechsvcs.com, thank you in advance.

I have the same issue and it seems like it was introduced in one of the latest revisions of the theme. The esc_attr() function used below will not echo the text. The theme should be updated to use esc_attr_e() or echo esc_attr()

inc/extras.php:

function shapely_footer_callout(){
  if( get_theme_mod('footer_callout_text') != '' ){ ?>
    <section class="cfa-section bg-secondary">
        <div class="container">
          <div class="row">
            <div class="col-sm-12 text-center p0">
              <div class="overflow-hidden">
                <div class="col-sm-9">
                  <h3 class="cfa-text"><?php esc_attr(get_theme_mod('footer_callout_text')); ?></h3>
                </div>
                <div class="col-sm-3">
                  <a href='<?php echo esc_url( get_theme_mod('footer_callout_link') ); ?>' class="mb0 btn btn-lg btn-filled cfa-button">
                   <?php esc_attr( get_theme_mod('footer_callout_btntext'), 'shapely'); ?>
                  </a>
                </div>
              </div>
            </div>
          </div>
          <!--end of row-->
        </div>
        <!--end of container-->
    </section><?php
  }
}

You could try to edit the inc/extras.php using a child theme, however I have issues with getting my child theme to load this file correctly, see this post

Hi dydebal,

It worked like a charm, thanks you very much for the help!

Hi @dybedal,

I hope you are well today and thanks for helping out here in this forum.

Your help here is really appreciated.

Thanks,
Movin