Support » Plugin: Theme My Login » Help creating custom page, link log-in page, to show backend content within site

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    I’m not familiar with the plugin so I’m not sure if it would be so simple.

    Thanks for the quick reply!

    That’s alright, I’m willing to try just about anything. If I was using a new registration form, where would I put that last bit of php? Does that go in the new registration form at the top? I’m thinking the same logic will apply with this plugin module/page. There’s not much to the page, it just displays a table, which is a list of their transactions.

    I can paste the code in here, if you’d like.

    Thank you!

    Plugin Author Jeff Farthing

    (@jfarthing84)

    If it were me, I’d just add it to the profile template. Perhaps even using jQuery UI Tabs to separate/pretty it up.

    I would like to change the registration link on the login page to a different url. What file do I need to edit? I can’t quite follow the instructions for changing an action link or defining the register_template attribute.

    I found my answer after hours of searching and banging my head against the wall. Jeff had answered this here:

    –snip–
    http://wordpress.org/support/topic/plugin-theme-my-login-use-different-form-for-registration?replies=3

    Create the file wp-content/plugins/theme-my-login-custom.php if you haven’t already. Then, add the following to it:

    <?php function tml_action_url_filter( $url, $action, $instance ) {
    if ( ‘register’ == $action )
    return ‘http://www.wordpress.org’;
    }
    add_filter( ‘tml_action_url’, ‘tml_action_url_filter’, 10, 3 ); ?>
    Of course, replace http://www.wordpress.org with your new URL.
    –snip–

    This bit about creating this custom file would be useful to add to the example on this page:

    Changing Action Links

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help creating custom page, link log-in page, to show backend content within site’ is closed to new replies.