No results found. Try again with different words?

Search must be at least 3 characters.

    Change site loading message

    Docs » General » 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 article helpful?

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

    Related Docs

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