Don’t forget to take a backup of the file prior to any change. We won’t be able to help in case of data loss.
1) Login to the admin dashboard.
2) Navigate to appearance ->editor.
3) Select Theme Functions (functions.php) from the right side of the page.
4) Search for ‘Register’. Then you can see a code like see below: (approximately at line no :252)
$items .= ‘<li class=”menu-item register”><a href=”‘ . home_url( ‘/’ ) . ‘#tile_registration”>’ . __(‘Register’, ‘tyler’) . ‘</a></li>’;
5) Replace the above code with the following.
$items .= ‘<li class=”menu-item register”><a href=”‘ . home_url( ‘/’ ) . ‘#tile_registration”>’ . __(‘Buy Tickets’, ‘tyler’) . ‘</a></li>’;
6) Then update the file.
7) Select Main Index Template (index.php) from the right side of the page
8) Search for ‘REGISTER NOW’ Text . You can see a code like see below:
<a href=”<?php echo home_url( ‘/’ ); ?>#tile_registration” class=”btn btn-lg btn-secondary”><?php _e(‘REGISTER NOW’, ‘tyler’) ?></a>
Please replace this with the following:
<a href=”<?php echo home_url( ‘/’ ); ?>#tile_registration” class=”btn btn-lg btn-secondary”><?php _e(‘Buy Tickets’, ‘tyler’) ?></a>
9) Then update the file
10) Open widget-registration.php file ( wp-content ->themes ->Tyler ->event-framework ->components ->widgets ->widget-registration.php ) via the FTP or Cpanel
11) Here you can see a code like
$items .= ‘<li class=”menu-item register”><a href=”‘ . home_url( ‘/’ ) . ‘#tile_registration”>’ . __(‘Register’, ‘dxef’) . ‘</a></li>’;
12) Replace this with the following
$items .= ‘<li class=”menu-item register”><a href=”‘ . home_url( ‘/’ ) . ‘#tile_registration”>’ . __(‘Buy Tickets’, ‘dxef’) . ‘</a></li>’;
13) Then update the file