WordPress.org

Ready to get started?Download WordPress

Forums

WP Last Login
Date AND time (6 posts)

  1. wpfranner
    Member
    Posted 10 months ago #

    Hi, I noticed this question in the old comments on the plugin webpage; Is there any way to display date AND time?

    http://wordpress.org/plugins/wp-last-login/

  2. NWTD
    Member
    Posted 10 months ago #

    I'd be interested in learning how to get both date and time to show up. I'm using this plugin on a multisite, so adding something to a theme's function.php is not the most ideal solution, being I'd have to do that for several different themes.

  3. incellion
    Member
    Posted 9 months ago #

    I had the same problem and I've figured it out. Add this in functions.php:

    function my_last_login( ) {
    	return 'j F Y H:i';
    }
    
    add_filter('wpll_date_format', 'my_last_login');

    Of course any format will do.

  4. Shonu
    Member
    Posted 7 months ago #

    Of course it should be a checkbox in the config of the plugin, and then it should take system settings for date and time (or overriding it by configuration)
    @Author: Date and time from WP format should come out of the box

    thanks

  5. NWTD
    Member
    Posted 7 months ago #

    @Shonu, I think we can all agree that these free plugins should work for what we want, but one thing to remember is that these are free and so is the support.

    Rather than exclaiming what should be, why not pass along some good karma to the plugin dev in the form of a beer to show appreciation for his work and in rice him to implement some new features...or better yet, fork the plugin on Git and contribute to the community :)

    As stated above, there is a fix to make it work and its pretty simple.

  6. edtorrey
    Member
    Posted 2 months ago #

    To expose the time with date, which functions.php, themes or core?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.