WordPress.org

Ready to get started?Download WordPress

Forums

Recent Posts Widget Extended
[resolved] long update time (3 posts)

  1. rosariobocca
    Member
    Posted 1 year ago #

    hi,

    updating the list of the last post of a category is very slow almost 9hrs
    you can reduce this time to refresh?

    best regards

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

  2. Satrya
    Member
    Plugin Author

    Posted 1 year ago #

    Actually , I setup the cache to 12 hours. You need to re-save the widget so the cache will gone.

    I'll update it with better cache system, so the cache will gone if you publish/edit post.

  3. alfalipo
    Member
    Posted 1 year ago #

    Hello,

    actually, just re-save the widget won't update the content (tried several times).

    You need to:

    1. Open widget-recent-posts-extended.php in plugin folder
    2. Search for set_transient( 'rpwewidget_' . $widget_id, $rpwewidget, 60*60*12 );
    3. Modify the line to set_transient( 'rpwewidget_' . $widget_id, $rpwewidget, 60*60*0 );

    Now if you change the content and re-save the plugin, it will change immediately.

    CMIIW :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.