Support » Plugin: When Last Login » Showing Last Logged in Info in the Front end

  • Resolved Junkie Kode


    Hi, I love the simplicity of this plugin…

    I was wondering if it’s possible to have some type of short code function for front end display?

    Let me explain my goal:

    I have a site where authors create posts, but I would like the author to know when the subscribers logged in to read the post.

    So I have a page with a custom loop, that list which users are subscribed to which posts.

    Next to their name, I would render thei’r “Last Logged in” info.

    For example:

    Post Title – Red Apples
    (Featured Image)
    Category: Fruits
    User 1 (Last Logged in #)
    User 2 (Last Logged in #)
    User 3 (Last Logged in #)

    Post Title: Brown Dog
    (Featured Image)
    Category: Animals
    User 4 (Last Logged in #)
    User 5 (Last Logged in #)
    User 6 (Last Logged in #)

    See what I mean?

    I hope this would be possible some how..
    Please let me know.
    I look forward to your response
    Thank you!

    • This topic was modified 1 year, 8 months ago by  Junkie Kode.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author andrewza


    Hi there,

    Thank you for using When Last Login and I’m really thrilled you like our plugin! 🙂

    This may be possible with a bit of custom code, you are able to simply get user meta of the last login data which shouldn’t be too difficult to do.

    How are you showing which user’s have visited the post? Would you prefer to get a timestamp of when a user visited the post instead of their last login date?

    Please let me know, I would be more than glad to work with you on creating a custom solution for this. Would it be okay to tackle this early next year, before February as we are currently on break over the next two weeks.

    Hello Andrew

    Thank you very much for your response

    Those are awesome news!

    Oh yes, you are right, it actually makes more sense to have the Timestamp.
    Maybe we can say something like: “Dec 26, 2017 at 8:00am” ?

    I’ve made the Post loop into a list, one row per post with 5 Columns.
    1.FeatureImage – 2.Title – 3.Created Date – 4Category – 5 Log
    The one called “Log” would be where the subscribers invited to that post would be listed. Very soon I’ll have ready this custom function to lists subscribers according to each post invitation.

    Thank you for your willingness to help, I would appreciate that a lot!
    If I may, I would be happy to contribute monetarily for the development of this feature. I can’t say I can contribute much but at least as small amount to show my appreciation.

    Happy New Year!

    Plugin Author andrewza


    Thanks for your understanding! We may create a custom solution for you and will definitely look to see if other people may be interested in this feature.

    When you are ready, please feel free to create a support thread on

    Have a great new year and be safe! 🙂

    Thank you Andrew, a custom solution would be awesome and greatly appreciated.
    I went ahead and submitted a support ticket in the link you provided.

    Plugin Author andrewza


    Hey @junkiekode,

    Thanks! I’ve replied to your email thread and we will continue to work there 🙂

    Have a great day further.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Showing Last Logged in Info in the Front end’ is closed to new replies.