It would be great to be able to define rules to disable global animations (based on things like post type, specific page, etc)
That way I can enable a global rule, but then exclude it from certain places
This is absolutely prioritary (still 9 month have passed since this message). There are not enough conditional possibilities. Please at least add :
@Antoine.lippens Advanced targeting supports RegEx pattern. It might help you to better target needed pages before this is implemented.
I am not familiar with RegEx. Is this a pattern that would work to target Archives (using ChatGPT) :
^archive-(\w+).php$
@Antoine.lippens you wouldn’t be targeting a .php file - you’d need a regex to target your archive’s slub
In the meantime, using slug targeting does not allow to use motion.page the way it is supposed to : a visual animation builder. Because you can’t load an archive since you can’t select it in the targeting menu ! Come on guys, make this available once and for all ! @David Babinec ?
Yes you can. Reach out on the Facebook group if you need help, but you can just type in the URL into that field
@Antoine.lippens Motion.page is based on post/page ID which is non-existing if you use archive as the page is “virtual”. Depend on the CPT plugin that you use, it should be possible to connect archive/slug to an actual page.
We are working on integration for archives from Bricks and Elementor, but it would be a time consuming to check each and every CPT x builder/theme combination when this can be done easily by correct archive setup.
If it is not possible with your CPT plugin, please, reach out via support and we can find a solution for you or if you want, create a new feedback as this will be closed as implemented.
Thank you for understanding!
This was implemented (v2.1.6) via WordPress PHP filter as it allows unlimited combinations.
You can find example code on the link below:
https://snippet.codes/o/motionpage/snippets/733
If there is a need to extend this in any way, please, reach out via support ticket.
@Antoine.lippens
You can find docs for RegEx pattern on the link below:
https://docs.motion.page/tips-and-tricks/advanced-targeting/regular-expression-regex