I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: Change Button Text

dashed-slug.net Forums Tip the Author extension support Change Button Text Reply To: Change Button Text

#10371
alexg
Keymaster

Hello and welcome!

Thank you for your interest in the plugins.

The button text is filterable with the WordPress filter wallets_tips_tip_the_author.

To change the text, you could add the following code in your theme’s functions.php file:

add_filter(
	'wallets_tips_tip_the_author',
	function( $text ) {
		return 'YOUR TEXT HERE';
	}
);

Furthermore, if you wish to modify the UI in some other way, including the button text, you can copy and modify the UI template. Templates are described in the release notes for version 5.0.0: https://www.dashed-slug.net/wallets-5-0-0/

In short, you can do this:

1. Copy the file wp-content/plugins/wallets-tips/templates/tips.php to wp-content/themes/YOUR_THEME/templates/wallets-tips/tips.php.

2. Edit the template in your theme directory. Be careful not to break the knockout.js data-bind directives.

wallets6 is an ongoing effort which will be out in a few months’ time. When it’s out it will be possible to also override the JavaScript that controls the UI behavior.

Hope this helps. Let me know if you have any more questions.

with regards