|

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 doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon