2 Comments

  1. Knut Sparhell

    I like the new filters for Top Posts Widget.

    The problem has been, and still is, that this widget by default returns home and archives pages in addition to the selected post types. So I have filtered the output through the old filter “jetpack_widget_get_top_posts” to return only single posts/pages and CPTs. But then, if the user wanted 3 post, the filtered posts array would not contain that many.

    Instead of telling the user to set 10 posts in the widget to get at least 3 results, I can now save and filter the desired count value of the instance, forcing it to 10, using “jetpack_top_posts_widget_count”, and later slice the returned posts array back to the users desired number of posts for the widget.

    And finally, 3.9.3 adds “jetpack_top_posts_days” so I can alter the 2 days default.

    Report

  2. Punya

    I just hope they add more social networks into their Publicize feature. Also , the top posts and pages widget ( the way it displays in the sidebar) needs bigger thumbs ( I feel so).

    Report

Comments are closed.

%d bloggers like this: