WordPress.org

Forums

Background Manager
[resolved] Settings "Background Image Set"-menu showing only one entry (3 posts)

  1. Eippi
    Member
    Posted 3 years ago #

    To get the plugin to show all of them change line 420 in Main.php:

    'numberposts' => 0,

    to

    'numberposts' => -1,

    or delete the whole line as the default value for the get_posts() function for numberposts is -1!

    The developer might want to fix this too!

    http://wordpress.org/extend/plugins/background-manager/

  2. myatu
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the report! Yes, it should indeed be -1 instead of 0, as this will - as you have noticed - limit the results on some DB's. I will set this to -1 on the next release (not remove it, as for get_posts() the default is 5 - get_children() uses -1).

  3. myatu
    Member
    Plugin Author

    Posted 3 years ago #

    This has been fixed in 1.0.14. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Background Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic