"Register Now" Button (Change)

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Sun Jun 09, 2013 9:40 pm
Hi. How do you change what the "register now" button says? thanks.
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 7:40 am
Hi,

The simplest way is editing file layouts/header.php in the theme directory and changing the text in the following fragment:

Code: Select all
<a href="<?php echo get_option($tpl->name . "_register_link", '#'); ?>"><?php _e('Register Now', GKTPLNAME); ?></a>
User avatar
Administrator

GK User
Wed Jul 17, 2013 4:47 pm
Also, is there a way to change the register button so when you click on it the registration form opens in a new window instead of the same one?

Many thanks :)
User avatar
Fresh Boarder

GK User
Thu Jul 18, 2013 10:02 am
You can add to the mentioned code of link the target="_blank" attribute.
User avatar
Administrator

GK User
Mon Jul 29, 2013 5:58 pm
Like this?
<a href="<?php echo get_option($tpl->name . "_register_link", '#'); ?>"><?php _e('Register Now', GKTPLNAME); ?>target="_blank"</a>
User avatar
Fresh Boarder

GK User
Mon Jul 29, 2013 7:09 pm
no, like this:

Code: Select all
<a href="<?php echo get_option($tpl->name . "_register_link", '#'); ?>" target="_blank"><?php _e('Register Now', GKTPLNAME); ?></a>
User avatar
Administrator

GK User
Tue Jul 30, 2013 11:33 am
Worked perfectly. Many thanks. It is much appreciated.
User avatar
Fresh Boarder


cron