Change button text for the submit/ reset buttons
There are 2 ways to accomplish what you’re wanting:
Use our Themer’s Guide to override the template files that include these strings.
Hook into the translations functions to customize the text. Please reference Customizing/Changing any bit of text (actual code snippet is at the very bottom).
Or using the Say what? plugin (third-party, not guaranteed or supported by us) might be easier to setup and use to do the same thing as our provided code snippet.
And here’s the information for you to be able to go either route you choose:
Filter Bar’s text domain is actually tribe-events-filter-view
The two files containing “Narrow Your Results” are:
I visited your site and I believe that “Filter” button is already a customized version of our Tribe Bar’s “Find Events” button (see the default look at our demo site: http://wpshindig.com/events/)
The actual string to target is “Find %s” in /wp-content/plugins/the-events-calendar/src/views/modules/bar.php
Please let me know how this goes for you.
The topic ‘Change button text for the submit/ reset buttons’ is closed to new replies.