Header widget3 stopped working after update

desks-incorporated.com running x-theme 6.2.5 with x-child integrity light

After the last couple of updates, one of the header features stopped working. We display a phone icon in the top right corner and when clicked it renders code in header3. This is in functions.php in child.

    if ( ! function_exists( 'x_legacy_header_widget_areas' ) ) :
    function x_legacy_header_widget_areas() {

    $n = x_get_option( 'x_header_widget_areas' );

    if ( ! apply_filters( 'x_legacy_cranium_headers', true ) || $n == 0 || x_is_blank( 3 ) || x_is_blank( 6 ) || x_is_blank( 7 ) || x_is_blank( 8 ) ) {
      return;
    }

    ?>

    <div class="x-widgetbar collapse">
      <div class="x-widgetbar-inner">
        <div class="x-container max width">

          <?php

          $i = 0; while ( $i < $n ) : $i++;

            $last = ( $i == $n ) ? ' last' : '';

            echo '<div class="x-column x-md x-1-' . $n . $last . '">';
              dynamic_sidebar( 'header-' . $i );
            echo '</div>';

          endwhile;

          ?>

        </div>
      </div>
    </div>

    <a href="#" class="x-btn-widgetbar collapsed" data-toggle="collapse" data-target=".x-widgetbar">
      <i class="x-icon x-icon-phone" data-x-icon="&#xf095;"><span class="visually-hidden"><?php _e( 'Toggle the Widgetbar', '__x__' ); ?></span></i>
    </a>

    <?php

  }

Here is what is in the header3 text widget itself.

[map no_container="true"]<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3068.755013669298!2d-105.02174078462505!3d39.722688079451856!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x67cefd228a8149d3!2sDesks+Incorporated!5e0!3m2!1sen!2sus!4v1495112774946" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>[/map]

No errors are in console. Did something change with the classes I need to use?

I can send creds upon request.

Scott

Hey Scott,

I just tested the Header Widget functionality in my test site and it works fine so this is not a bug. This looks like a result of your customization. Please note that we do not support issues arising from customization. That would actually be a custom development job. Please remove that custom code from your functions.php and then check if the issue persists. If you wish to continue using the customized function, you will need to consult with a third party developer.

Thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.