What’s the cleanest way to add support for qTranslate‘s qtrans_convertURL( $url ) for the_action_links() that gets called in the end of most of Theme My Login’s templates?
For example <i>templates/register-form.php</i> has this line in the end:
<?php $template->the_action_links( array( 'register' => false ) ); ?>
The code for that function is in includes/class-theme-my-login-template.php. The best option would be if that function would be made into its own template. Jeff: Could that be done?
Before that happens, the only ways I can think of is to modify that function in the plugin core, which is not update-safe, or to use modified templates for all pages and then replace the call to that function with manually created code, which means that plugin updates to that function would have to be synced manually.
- The topic ‘qTranslate support for the_action_links()’ is closed to new replies.