Display author post date and last modification date

This topic contains 10 replies, has 4 voices, and was last updated by  Alex Rollin 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #474722

    Jorge Dändliker
    Buyer
    Post count: 150

    Hello

    Is there a short code in v2 to show the author, the post date and the last modification date of an entry? In v1 I managed that somehow, but I wouldn’t know how to do it today.

    Many thanks!
    Jorge

    #474796

    Alex Rollin
    Moderator
    Post count: 27815

    We are planning to implement some of those very soon, others may take longer but we do have them on our list.

    #475947

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    author profile link, post date and last modified date will be available in post meta from next release.

    Thanks,

    Stiofan

    #475969

    Jorge Dändliker
    Buyer
    Post count: 150

    Great, I’m looking forward to it!

    Many thanks for the excellent support!

    #478020

    Jorge Dändliker
    Buyer
    Post count: 150

    I have just seen that this information is now available. Great! I included the author right away, but the link is …/author/… and runs into nowhere, because there is no “author” page. Have I missed any setting here? Or can I change the link so that users get to the profile page (I use UsersWP) of the author?

    Thank you for clarification.

    Regards
    Jorge

    #478070

    Alex Rollin
    Moderator
    Post count: 27815

    If you are using UWP it will show the link as /author/… but then redirect to the UWP profile.

    If that isn’t happening make sure you have checked the options in UWP -> Geodirectory for redirecting author links.

    #478868

    Jorge Dändliker
    Buyer
    Post count: 150
    This reply has been marked as private.
    #478879

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I spoke too soon. We have a task to work on this but it has not yet been implemented. We will post an update here when available.

    #479190

    Patrik
    Moderator
    Post count: 1971

    Hi,

    For author link, can you try putting the following code in your currently active theme’s functions.php file?

    
    
    if(class_exists('UsersWP')){
        add_filter( 'author_link', array('UsersWP_Profile', 'get_profile_link'), 10, 2 );
    }

    Regards,
    Patrik

    #480177

    Jorge Dändliker
    Buyer
    Post count: 150

    Hello Patrik
    Thank you for your support – it works perfectly.
    Will this then work automatically with a next release, so that I can remove this function again or will it stay like this?
    Thanks again!
    Regards
    Jorge

    #480199

    Alex Rollin
    Moderator
    Post count: 27815

    We are working on additional feature integrations between GD and UsersWP. The function above will continue to work.

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket