Label Changes


#1

I would like to change the following lables without going the translation route:

  1. Attatch Files: Change to Upload Photo".
  2. Upload will start only after you enter content and click Post Update: Change to “say Something about your photo(s)”

#2

Hello @bhekzinto,

  1. Yes, you can use filter ‘rtmedia_attach_file_message’ and change text of Attach file.

Below is the sample code which you can add to your theme’s function.php file:

function rtmedia_attach_file_message_custom( $rtmedia_attach_file_message ) {
	return 'Upload Photo';
}
add_filter( 'rtmedia_attach_file_message', 'rtmedia_attach_file_message_custom', 10, 1 );
  1. Sorry to say but right now its not possible to change this text as there is no filter for this. But in future update we will add filter for this text. Thank you for pointing out on this.

Thanks.


#3

Thank for the code snippet. Works like a charm.


#4

Hello @bhekzinto,

You are welcome ! :slight_smile:


#6

Is there a filter to change this text yet?


#8

Hello @kcdrip,

Yes, we have added filter to edit text message ‘Upload will start only after you enter content and click Post Update’. It will be added to next plugin release! :slight_smile:

Thank you.


#9

Great, Is there a time frame on when that release will be available?


#10

Hello @kcdrip,

We are planning to release it probably in next upcoming week.

Thanks.


#11

Great. What will be the filter I need to use to make those changes after I update?


#12

Hello @kcdrip,

rtMedia has been released this filter with version 3.7.38

Please visit the documentation here http://docs.rtcamp.com/rtmedia/developer/hooks/rtmedia-hooks/filter-to-change-text-of-post-update-message/

Thank you.


#13