WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] [Plugin: bSuite] Wdiget not showing correct posts number

[Resolved] [Plugin: bSuite] Wdiget not showing correct posts number

  • In my sidebar I have only the “bStats Posts” Widget. Configurtion is 10 posts, from last 7 days.

    No problem there, but when i look the site, the widget is showing 15 from that days. It seems that the “numbers” configuration is bypassed, and set for 15 always. When I set up 1 post and 1 day (today), shows more than one.

    Plzfix, i’m not a programmer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Okey, i’m not but at least i could try. After half-fay of looking and figuring out, the widget function in bSuite.php is the problem:

    Search for (line 2356 if i’m right)

    $pop_posts = $this->pop_posts(“limit=$number&days=$days”);

    and repace the “limit” for “count”. It will look like this:

    $pop_posts = $this->pop_posts(“count=$number&days=$days”);

    That’s all, the widget will get the number limit correctly.

    @darkghosthunter: Thanks for pointing out the bug, and double thanks for identifying the fix.

    I’ve updated the plugin (and fixed a similar error elsewhere).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: bSuite] Wdiget not showing correct posts number’ is closed to new replies.
Skip to toolbar