Posts per Cat [Unmaintained]
Widget number of headlines not updating (4 posts)

  1. bobbiermckee
    Posted 2 years ago #

    In the widget when trying to change the number of headlines it always goes back to the number 5. I would like to increase that number.


  2. urkekg
    Plugin Author

    Posted 2 years ago #

    Thank you for reporting this bug. Will be fixed in next release 1.2.2

  3. Maverick87Shaka
    Posted 2 years ago #

    I have the same problem, but in my case i need to decrease this number to only 2 for category.
    There is any news or a idea of the release date of 1.2.2?
    Anyway Very good plug-in.

  4. jroger
    Posted 2 years ago #

    hey there,
    i had the same problem.
    this is what i did to fix it:

    >>> go to the post-per-cat plugin folder
    >>> inc > widget.php
    >>> search for:
    'posts' => (empty($instance['posts']))?5:$instance['posts'],
    >>> and for:
    $posts = ( isset( $instance[ 'posts' ] ) ) ? $instance[ 'posts' ] : "5";
    >>> change the number of posts to whatever you want
    >>> upload your new widget.php

    on my wesite it's working.

    remember to make a backup before trying!!
    good luck :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.