Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shortcode to animate elements in front-end #2

Open
phrizm opened this issue Jan 11, 2023 · 1 comment
Open

Add shortcode to animate elements in front-end #2

phrizm opened this issue Jan 11, 2023 · 1 comment

Comments

@phrizm
Copy link

phrizm commented Jan 11, 2023

Hello once again Basti (i tried to put enchasement this time - several questions to come),

Whats regarding animate on scroll: can we implement shortcode defore our element in order to apply the effect in front-end?

[aos aos_anim="data"]
[our element like img and so on]
[/aos]

Quick example by my personal guru:

https://wp-tutorials.tech/refine-wordpress/animate-any-wordpress-block-on-scroll/

FYI: this tutorial is not working on your theme, but your plugin works fine.

Its gonna be easier to work with.

Thanks as always for your consideration.

@crftwrk
Copy link
Member

crftwrk commented Jan 12, 2023

Hello Richard,

nice idea but this doesn't seems to be implement quickly to get it work in plugin. To be honest, I never used AOS in any client project, only on the bootscore.me site. So I thought many times about removing AOS plugin from the site and let users do something like this in their child instead providing a plugin to reduce maintaining and focus resources more on theme core. I'm not sure if it's worth to do this work.

However, if you want to take on that, you can modify plugin to work with shortcode, create a PR and we publish it here? Maybe I can help you guiding through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants