WordPress.org

Forums

Popups - WordPress Popup
[resolved] Popup Display Rules - unable to select "post is equal to" (5 posts)

  1. Big Dave
    Member
    Posted 1 year ago #

    Love the plugin!

    Unfortunately, if I select the option to add a rule for "Post" and "is equal to" the timer spins around and then goes blank. It works alright with pages and post category and it works on my test site, which suggests that the problem may lie with the number of posts on the site being in excess of 4,000 (4357 as of today). If this is the reason, I would be happy to select from, say, the last 100 posts.

    https://wordpress.org/plugins/popups/

  2. Damian
    Member
    Plugin Author

    Posted 1 year ago #

    You are right, that's probably the reason. I will add some filter on next release to let users modify the queries or posts, pages ,etc. In the mean time you could try manually editing the file popups/includes/class-spu-helper.php around line 166

    $posts = get_posts(array(
        'numberposts' => '100',
  3. Big Dave
    Member
    Posted 1 year ago #

    Thanks

    That works well.

  4. Big Dave
    Member
    Posted 10 months ago #

    There have been several updates to this plugin and the promised filter does not appear to have been added yet.

  5. Damian
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Big Dave, thanks for the remainder. I forgot about this one. I just added the filter that you can get by downloading develop version in https://github.com/timersys/popups

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic