WordPress.org

Support

Support » Plugins and Hacks » [Resolved] qTranslate support for the_action_links()

[Resolved] qTranslate support for the_action_links()

  • Daedalon
    Participant

    @daedalon

    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.

    http://wordpress.org/extend/plugins/theme-my-login/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] qTranslate support for the_action_links()’ is closed to new replies.