WordPress.org

Ready to get started?Download WordPress

Forums

500px Widget
Is sort working? (8 posts)

  1. bryanbrazil
    Member
    Posted 1 year ago #

    Just downloaded your plugin, awesome work! I can't seem to get sorting to work though, it always seems to just show the most recently uploaded photos. Any ideas?

    http://wordpress.org/extend/plugins/500px-widget/

  2. kutsy
    Member
    Plugin Author

    Posted 1 year ago #

    Hello. Thanks.
    Can you tell your 500px widget settings?

  3. bryanbrazil
    Member
    Posted 1 year ago #

    What to display: User photos
    Username: bryanbrazil
    Category: Any
    Sort by: View count
    Cache lifetime: 2 seconds

    No matter what I set "Sort by" to, it always returns the latest photos.

  4. kutsy
    Member
    Plugin Author

    Posted 1 year ago #

    I tried to do the same and I get different result for 2 sorting methods.
    This is strange.
    Try to update plugin to v0.4.
    And maybe re-create (delete and add) widget can help you.

  5. bryanbrazil
    Member
    Posted 1 year ago #

    Updated to 0.4 and recreated the widget. Still only getting the most recent photos.

    My site is hosted by wpengine.com and they have caching turned on. I tried deleting their cache, but still no luck. I wonder if it has something to do with their setup?

  6. kutsy
    Member
    Plugin Author

    Posted 1 year ago #

    I replaced file_get_contents with wp_remote_get.
    I hope it can helps.
    v0.5

  7. bryanbrazil
    Member
    Posted 1 year ago #

    I installed 0.5 and removed/readded the widget. Still no luck, it only displays the latest images.

    http://www.bryanbrazil.com/contact

  8. bryanbrazil
    Member
    Posted 1 year ago #

    I think maybe I was misunderstanding how the plugin works. I thought if I told it to display 9 of my user photos sorted by views, it would show my 9 photos with the most views. But it appears it doesn't do that. It looks like it selects the most recent 9 photos and then sorts them.

    Would it be possible to make the plugin sort on all the photos for a user, then select the desired number of photos?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.