Support » Plugin: Popups - WordPress Popup » Popup Display Rules – unable to select "post is equal to"

  • Resolved Big Dave

    (@bigdave44)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Damian

    (@timersys)

    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',

    Thanks

    That works well.

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

    Plugin Author Damian

    (@timersys)

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Popup Display Rules – unable to select "post is equal to"’ is closed to new replies.