Loading media

Hi rtmedia,

This is where people click the image, loading screen before popup the lightbox.

Loading media is a small m, I want to rename to Capital M, Loading Media.

Can you tell me which file or function to rename it?

Please advise, thanks,

Hi @DamnDramaQueen,

Add below code into your theme’s functions.php

 * Change "Loading Media" string.
function custom_scripts_styles() {
    wp_localize_script( 'rtmedia-main', 'rtmedia_load_more', 'Loading Media' );
add_action( 'wp_enqueue_scripts', 'custom_scripts_styles', 1000 );

Thank You.

Hi bhargavbhandari,

The function works like a charm! :slight_smile:

It looks much more even now that both are Capitalized…

Thanks so much for your big time help :slight_smile:

1 Like

Hi @DamnDramaQueen,

Great to hear that.

Happy to help :blush: