WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bobbiermckee
    Member
    Posted 5 months 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.

    https://wordpress.org/plugins/posts-per-cat/

  2. urkekg
    Member
    Plugin Author

    Posted 3 months ago #

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

  3. Maverick87Shaka
    Member
    Posted 2 months 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.
    Thanks

  4. jroger
    Member
    Posted 2 months 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 :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.