JS & Code in Wordpress

Out of context: Reply #5

  • Started
  • Last post
  • 21 Responses
  • dpi0

    Not a expert however I will try to add some ideas.

    Web animations generally. Really complicated story. Starting from basic gif animations and I don't know where it ends. Maybe some crazy WebGL stuff?

    I personally like to use Tweenmax GSAP for web animations.
    Not a coder here however I believe I can do more than many professional front end developers with it.
    Performance can be issue. Making everything work in all devices and screen sizes is time consuming when you use more complex animations. WebGL probably gives best performance.

    Now if you are talking about page animations.
    Fake it til you make it way. You manipulate link behaviour with js.
    Basically instead of loading new page you run outro animation at first, then switch url and run intro animation.

    Or real deal. Previously mentioned headless way. Ok well you can make it with plain old js too.
    Headless way basically means that you use wp as admin. And then WP REST API to get data.
    I have previously used it for more simple websites. To load in news and some basic page content.

    For my next WP project I am going to test https://github.com/Dogstudio/hig…
    I hope that I can avoid building full vue.js front end and I can do all the development myself.

    If anyone knows any good wordpress starter theme with scss setup that would be helpful. Sage/roots is too complex for me however many other starter themes seem bit outdated.

    • Highway looks nice, ty for the share.
      We do a lot of these things, mostly for quick agency jobs with vanilla js with a headless wp.
      sted

View thread