WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Popup Display Rules – unable to select "post is equal to"

[Resolved] Popup Display Rules – unable to select "post is equal to"

  • Big Dave
    Member

    @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
    Participant

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

    Big Dave
    Member

    @bigdave44

    Thanks

    That works well.

    Big Dave
    Member

    @bigdave44

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

    Plugin Author Damian
    Participant

    @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 ‘[Resolved] Popup Display Rules – unable to select "post is equal to"’ is closed to new replies.