create a js file with this (I called mine bothide.js)
function regiChange() {
//change links to the correct address
$('a[href="register:#"]').attr('href','index.php?page=register&action=register');
return true;
}
$(document).ready(function(){
//set timeout to 3 seconds
var t=setTimeout("regiChange()",3000);
});
add this to footer.php
before content closing </div>
<script type="text/javascript" src="<?php echo osc_current_web_theme_js_url('bothide.js') ; ?>"></script>
and the implementation:
<a href="register:#"><?php _e('Register', 'Theme Name') ; ?></a>
you can do this for any link, including -
changing the links and the href names accordingly <?php echo osc_contact_url(); ?>
<?php echo osc_item_contact_email(); ?>
______
this can also be used on a form submit
$('form[action="#"]').attr('action','
http://domain.com/post');
return true;