[resolved] [Plugin: Advanced Category Excluder] page exclusion interferes with template-tag (3 posts)

  1. j.org
    Posted 7 years ago #

    Before ACE provided page exclusion I excluded some concrete pages (say, with id 1200 and 3000) from a list in my header.php utilizing the template-tag


    Immediate after installing the new version of ACE this is broken or at least is overridden in some way. Obviously I can go to plugin config to re-enable exclusion but I need to enable exclusion in various places to achieve the same effect as by using the mentioned template-tag. Furthermore I realized it only after a few days. In the meantime the hidden pages had been visible to everyone.

    So to ensure compatibility with themes I suggest the plugin should respect exclusions made by this (and possible other) tags.

    ~~~ Cheers

  2. Zack Katz
    Posted 6 years ago #

    You can fix this issue (which has plagued me until now) by adding the following line to your functions.php file:

  3. j.org
    Posted 6 years ago #

    Hi katzwebdesign,

    this is it! You're the man.

    For the interested reader: I guess this line of code completely disables ACE's page exclusion feature, but hey: this is what I wanted :)

    ~~~ Cheers.

Topic Closed

This topic has been closed to new replies.

About this Topic