• Resolved chargeup

    (@chargeup)


    After the latest update the Seemless Integration is no longer compatible with Astra theme search widget. It breaks the whole layout.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    So you are talking about broken search form in the Astra header?

    Please try to use following code snippet:

    add_filter( 'aws_searchbox_markup', 'astra_aws_searchbox_markup' );
    function astra_aws_searchbox_markup( $markup ) {
                $markup = str_replace( 'aws-container', 'aws-container search-form', $markup );
                return $markup;
            }

    You need to add it somewhere outside the plugins folder. For example, inside functions.php file of your theme or use some plugin for adding code snippets.

    Regards

    Thread Starter chargeup

    (@chargeup)

    Thanks for the response. All it does is crash the website and cause a fatal error:

    Error Details
    =============
    An error of type E_PARSE was caused in line 32 of the file /home/customer/www/…/public_html/wp-content/themes/…/functions.php. Error message: syntax error, unexpected ‘&’

    Plugin Author ILLID

    (@mihail-barinov)

    I think you add some encoded chars inside your functions.php file.
    Can you send me that functions.php file that generate error?

    Regards

    Thread Starter chargeup

    (@chargeup)

    I figured it out. The code you sent did the trick. Thanks for the help here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No Longer Compatible with Astra’ is closed to new replies.