WordPress.org

Ready to get started?Download WordPress

Forums

Posts in Sidebar
[resolved] How works ORDER BY (3 posts)

  1. jpmarceorg
    Member
    Posted 1 year ago #

    Hello Aldolat

    I am looking for ordering the posts differently than by DAT.

    How works the "ID" and "Modified" velus of ORDER BY? I did not find this information on GitHub.

    I am looking for ordering futures events by the date they will occur and not by the date I put them in line.

    Thanks

    http://wordpress.org/extend/plugins/posts-in-sidebar/

  2. aldolat
    Member
    Plugin Author

    Posted 1 year ago #

    Hi jpmarceorg!

    ID = the number that WordPress gives to every post or page you create. It's is progressive, so the first post has ID=1, the second ID=2, and so on. You can view this number if you edit a post: look at the address bar of your browser and you'll se something like this:

    http://example.com/wp-admin/post.php?post=6&action=edit

    The number 6 is the ID of the post.

    Modified = The date when the post/page was modified. If the post was never modified, then the creation date and modification date are the same.

    Hope this helps.

  3. jpmarceorg
    Member
    Posted 1 year ago #

    Thanks a lot, yes this helps.

    I was looking for a way to order futures events by the date they will occur and not by the date I put them in line. I will try to put the date at the beginning of the title of my articles ans to order them by title.

    Great widget!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags