The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. Daedalon
    Posted 3 years 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.


  2. Jeff Farthing
    Plugin Author

    Posted 3 years 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

  • Theme My Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.