WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] qTranslate support for the_action_links() (2 posts)

  1. Daedalon
    Member
    Posted 1 year ago #

    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/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    The best way would be to use the tml_action_link filter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.