Sunday, July 19, 2015

The Popular Posts Gadget Is Broken

This month, we have numerous reports of problems with the Popular Posts gadget, and its size being out of control.

Some blog owners cannot get their gadgets to display as many as entries are selected - while others have more entries displayed, then are selected. And some report differing success with displaying "Last 7 days", or "Last 30 days", as opposed to "All time".

One forum helper has suggested a CSS tweak, which may help in some cases - but not consistently.

If you look at the bottom of the sidebar, in this blog, you will see the Popular Posts gadget there.

Please count the number of entries, in the gadget.


I count 7 entries displayed. But the wizard shows 10 selected.

One forum suggestion suggests a workaround for the problem, using an added CSS rule.

Add a CSS rule, to the template, adjusted for how many entries you wish to be displayed.

.PopularPosts ul li:nth-child(n+6){display:none;}

The above rule will limit the display to 5 entries - when more than 5 entries are displayed. I don't think it will increase the number displayed.

How do you code that, to get 10 entries, when only 7 are available?

.PopularPosts ul li:nth-child(n+11){display:none;}

I don't think that will accomplish anything. I wonder if this is related to the problem with deleted posts and the Popular Posts gadget, reported earlier this month?

Anyway, Blogger Engineers are aware of the problem. So, we'll just have to be patient.
(Update 7/20, 10:00): Blogger Engineering has developed a fix for the problem - and the fix should be in place within 24 - 48 hours.

No comments:

Post a Comment