No results found. Try again with different words?

Search must be at least 3 characters.

    Disable site loading message from Website portfolio

    Docs » Developers » Disable site loading message from Website portfolio

    You might have observed that clicking on Quick View button on Website Portfolio shows a loading message. This message is displayed while the plugin fetches your website design from the respective URL. This site loading message is displayed for a few seconds.

    You can disable the site loading message with the following filter. Add filter to your theme’s functions.php file.

    add_filter( 'astra_portfolio_shortcode_localize_vars', 'astra_portfolio_disable_site_loading_message' );
    
    function astra_portfolio_disable_site_loading_message( $defaults = array() )
    {
    $defaults['siteLoadingEnabled'] = false;
    return $defaults;
    }

    Note: If you have marked website portfolio to open in a new tab, Quick Button will not display any message. A portfolio will be opened in new tab. So the above scenario will not be applicable.

    Was this article helpful?

    Did not find a solution? We are here to help you succeed.

    Related Docs

    Scroll to Top