Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Veda

    (@vedathemes)

    Hi there,

    Thanks for trying Podcast player.

    We need to add custom PHP to replace the text. Following method will help you to add custom PHP.

    Method1: (Recommended safe and easy)
    Step1: Install Code Snippets free plugin on your website. You can add any PHP code in this plugin safely.
    Step2: Insert following code in the options provided by above plugin,

    add_filter(
    	'gettext_podcast-player',
    	function( $translation, $text, $domain ) {
    		if ( 'Load More' === $text ) {
    			return 'My Custom text';
    		}
    		return $translation;
    	},
    	10,
    	3
    );

    Step3: Replace My Custom text with your actual custom text.

    Method2: (Easy)
    Step1: Copy and Paste following code at the end of your theme’s functions.php file,

    add_filter(
    	'gettext_podcast-player',
    	function( $translation, $text, $domain ) {
    		if ( 'Load More' === $text ) {
    			return 'My Custom text';
    		}
    		return $translation;
    	},
    	10,
    	3
    );

    Step2: Replace My Custom text with your actual custom text.

    Note: Please backup your website before making PHP changes.

    Inform if any other help is required with podcast player.

    Thanks,

    Thread Starter cierp

    (@cierp)

    That works perfectly ??

    Thanks,

    Plugin Author Veda

    (@vedathemes)

    You’re welcome.

    If you like the plugin, kindly consider giving 5 star rating.

    Inform if any other help is required with the player.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Load more” button’ is closed to new replies.