Let me preface this by admitting that I have a love / hate relationship w/ time.ly’s All In One Events Calendar. While it’s probably one of the more robust calendar solutions available for wordpress, it’s also one of the most frustrating ones to modify or edit, and it seems with each new release they create more and more havoc. One issue that’s been haunting me for the past few days is that a client wanted to change the wording from “Buy Tickets” to say “Register” on his single event listing pages. Naturally I did a google search and turned up about a half dozen or so posts on message boards, etc. where people were instructing others to change code that they simply didn’t have because of versioning I suppose, but for whatever reason I thinkered around w/ this for two days before I finally found my solution.
To change the wording from “Buy Tickets” to “Register”, you will want to go into your Themes > Vortex > directory and locate event-single.php. Next, you will want to search for this line of code:
get_tickets_url_label(); ?>
Next, you will replace that line of code w/ this:
<?php esc_attr_e( $event->ticket_url ); ?>" target="_blank" class="ai1ec-tickets btn btn-small btn-primary"><?php _e( Register, AI1EC_PLUGIN_NAME ); ?>
Obviously, if you want this to say something different than “Register” you can change it in this line of code. Once this is complete, upload your changes and you should be good to go…
Krzysztof Lipski says
I will try it here sadomo.eu