• Resolved djvern

    (@djvern)


    Hi there,

    I’ve come across a strange issue when using this plugin (1.5.8.2beta) with multiple loops on one page – basically it prevents me from hiding duplicate posts in the second loop using either ‘exclude’ or ‘post__not_in’ for all users other than admin. All posts are displayed in the second loop regardless of what exclude method I try. This isn’t such an issue as even with the plugin disabled I can still benefit from new permission changes I’ve set up using it (I guess these settings are stored in the DB unless the plugin is completely uninstalled?) Thought I should flag this up though in case anyone else has a problem.

    Many thanks,
    Dave Vernon

    http://ww.wp.xz.cn/extend/plugins/advanced-access-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Dave,
    I have to check this issue. And to be more clear, can you please specify what do you mean under “multiple loops”. My first thought is that this is related to order of WordPress filters.

    Regards,
    Vasyl

    Thread Starter djvern

    (@djvern)

    Hi Vasyl,
    Ok here’s an example of two loops I have in one page template:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    The template relates to this page here: http://www.westlondonliving.co.uk/whats-on/events

    You’ll see the second loop uses ‘post_not_in’ to exclude the posts that feature in the first loop, but this doesn’t work when the plugin is enabled. I’m using quite a lot of other plugins and have a rather expansive functions.php file, so it could easily be a conflict with another plugin/filter, so let me know if you need any more information. This is a great plugin otherwise and as I said it’s not a big issue because the loops work as expected when I disable it…

    Many thanks,
    Dave

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Advanced Access Manager] Multiple loops problem for users other than admin’ is closed to new replies.