Dequeue JS does not with with negated page ID
patphg opened this issue · 1 comments
patphg commented
In Nebula options, I am using the dequeue JS fields in the advanced section to dequeue a script on ALL pages NOT ID 721 like so:
This appears to have no effect. However if I use, for example, is_front_page
, it does dequeue the script on the front page, so I know the setting is working in some ways.
I will continue to troubleshoot and update this issue with any findings or fixes.
chrisblakley commented
Ah interesting thought– originally the !
inversion was only intended to be used with function names, but this is a great use case. It has been updated and will be included in the next commit.