WordPress.org

Forums

How to Display the Date of Another Page or Post? (7 posts)

  1. misty9
    Member
    Posted 7 years ago #

    I have found the following codex for displaying the date and author of the CURRENT page. i.e the_date(), the_time() and the_title() all have the capability of displaying the page in the Current page or post.

    http://codex.wordpress.org/Post_Meta_Data_Section

    POST TITLE: WordPress Makes Me Smile
    AUTHOR: Harriet Smith
    POSTED: 20 April 2004

    For my specific needs, I am processing the Date and Author info in a different page other than the “Current Page”. The_date() needs to be able to find the page ID or the post ID before issuing the correct date for that Page or Post.

    Is there a way to display the Date and Author information of another page in WordPress?

    I'd like the same way weberforum shows their Topics and Last Post:

    http://www.weberforums.com/forum4.html&sid=f7db7635c083e86b48b7c5ede846ad3b

    Thanks.

  2. misty9
    Member
    Posted 7 years ago #

    Hmm..., May be I can try WP_LIST_PAGES() function in page 1, which lists other pages with dates. But not sure yet how it would work with two columns such as Topics and Last Post.

    http://codex.wordpress.org/wp_list_pages

    Please do share your insights if could. Thanks.

  3. moshu
    Member
    Posted 7 years ago #

    All the template tags that display title/time/date/author must be used inside the Loop.

    To be honest I don't really understand what are you trying to do.

    wp_list_pages definitely doesn't do anything like that.

  4. misty9
    Member
    Posted 7 years ago #

    If possible in WordPress, I want to do what the following weberforums page can do. i.e.

    Linked pages having dates and author automatically reflected whenever the linked page is being updated.

    Can you please take a look at the following page so that you can understand what I mean. thx.

    http://www.weberforums.com/forum4.html&sid=f7db7635c083e86b48b7c5ede846ad3b

  5. moshu
    Member
    Posted 7 years ago #

    I am still confused. That's a forum software. This is NOT a forum software. Why are you expecting a forum-like behaviour from a blogging tool?

  6. misty9
    Member
    Posted 7 years ago #

    I have removed my url here.

    I will have to live with it if you say it is not supported.

  7. misty9
    Member
    Posted 7 years ago #

    In case anyone may be interested in the plugin that I've found:

    Plugin "List Subpages Plugin for WordPress", which utilizes wp_list_pages() to show created dates for subpages of a page.

    http://www.dagondesign.com/articles/list-subpages-plugin-for-wordpress/comment-page-4/#comments

    Given a thread may be extended for weeks or months, it would be nice if this plugin has the option of displaying the Post Updated(which is a plugin that displays notice/date/time of when a post was last updated. By Kaf Oseo.).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.