|

Change site loading message

Clicking on the Quick View button on the 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 alter this message text with the following filter. Add filter to your child theme’s functions.php file.

if( ! function_exists( 'prefix_chage_site_loading_message' ) ) ;
    function prefix_chage_site_loading_message( $defaults ) {
        $defaults['siteLoadingTitle'   ] = __( 'My Title', 'astra-portfolio' );
        $defaults['siteLoadingMessage' ] = __( 'My Loading Message.', 'astra-portfolio' );
        return $defaults;
}
add_filter( 'astra_portfolio_shortcode_localize_vars', 'prefix_chage_site_loading_message' );

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