Theme My Login
Shortcode and documentation doesn't work anymore (4 posts)

  1. jdsans
    Posted 3 years ago #


    I'm sorry to say that recently i upgraded to plugin's latest version and i'm facing many problems regarding shortcode usage and many other things.

    1. The global $theme_my_login variable doesn't seem to work. I replace it with Theme_my_login->get_object() but that too has now protected elements inside like "active_modules" which cannot be accessed.

    2. I used the function theme_my_login() and passed array with items like instance and many more, but it seems the function doesn't accept anymore.

    Because of that i shifted to shortcode but the first only argument "instance" is not being updated in the code.

    3. Documentation is not updated according to new version.

    Thanks Jasdeep


  2. Jeff Farthing
    Plugin Author

    Posted 3 years ago #

    1. The global variable $theme_my_login no longer exists. Use Theme_My_Login::get_object to obtain the singleton instance.
    2. The theme_my_login function still exists.
    3. It is not.
  3. jdsans
    Posted 3 years ago #


    I really like the plugin, i think its one of many original and unique works that are present in this directory.

    But i think this change in most of the plugin's features is not a right thing to do, as many of the developers have your functionality incorporated in there files.

    1. How to access modules that are currently active??

    2. I had theme_my_login being used in one my theme's header.php file, but the function didn't work anymore. I'm using this code which doesn't show the the templates being loaded.
    I'm using this code. Do i need to modify anything.

    	    'instance' => 'head',
    	    'login_template' => 'theme_my_login/login-form-header.php',
    	    'user_template' => 'theme_my_login/custom-user-panel.php',
    	    'show_title' => false,
    	    'show_pass_link' => false,
    	    'show_reg_link' => true,

    3. Are you planning to update the documentation soon.

    Thanks Jasdeep

  4. Jeff Farthing
    Plugin Author

    Posted 3 years ago #

    1. To check if a module is active, check if the class exists.
    2. Instances can no longer be set manually. They are an integer value that is automatically assigned.
    3. When I can.

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