WordPress.org

Ready to get started?Download WordPress

Forums

TW Recent Posts Widget
[resolved] Sort order not manadtory (3 posts)

  1. Dillx
    Member
    Posted 1 year ago #

    It would be handy to have a version that doesnt specify sort order.
    This would allow the posts to be displayed in the 'default' order for the post.

    I want my posts to be ordered by slug / name order. So have added a pregetposts function. Unfortunately, this gets changed by the mandatory sort order on the plugin.

    http://wordpress.org/extend/plugins/tw-recent-posts-widget/

  2. tweetysha
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Default post order is by date!
    You may order them by title (that is the most similar to slug) if you want that kind of order.

  3. Dillx
    Member
    Posted 1 year ago #

    In the case where you use a preget posts function you can in effect specify a post order (in my case I specified slug order). The mandatory order on the plugin doesnt have a slug option and overrides the preget post function with whatever option you are forced to choose.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic