Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Rules to disable global animation under certain conditions#23

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

3 years ago
Changed the status to
Planned
3 years ago
3
A

This is absolutely prioritary (still 9 month have passed since this message). There are not enough conditional possibilities. Please at least add :

  • can’t target Archive templates
  • can’t exclude a specific Page / Post
3 years ago

@Antoine.lippens Advanced targeting supports RegEx pattern. It might help you to better target needed pages before this is implemented.

3 years ago
A

I am not familiar with RegEx. Is this a pattern that would work to target Archives (using ChatGPT) :

^archive-(\w+).php$

3 years ago

@Antoine.lippens you wouldn’t be targeting a .php file - you’d need a regex to target your archive’s slub

2 years ago
A

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 ?

2 years ago
1

Yes you can. Reach out on the Facebook group if you need help, but you can just type in the URL into that field

2 years ago

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

2 years ago
1

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.

2 years ago

@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

2 years ago
Changed the status to
Completed
2 years ago