Skip to content

magn3tic/mag-wp-starter

Repository files navigation

A Starter Wordpress Theme

by Magnetic Creative // @magn3tic on twitter


Getting Started

To get started, setup a local Wordpress installation, and use this template to create a repository at your-site-root/wp-content/themes/.

Rename .example.env to .env, and set the LOCAL_BASE_URL to your local server root. You can adjust build settings in project.config.js.

Run npm start and enjoy local development w/ live reloads 🚀

Features

  • Smooth Scroll - Lenis Scroll + GSAP ScrollTrigger libraries
  • Page Transitions - SPA-style navigation w/ BarbaJS
  • Template Utils - useful re-usable PHP template functions
  • Responsive Images - lazy-loaded images w/ low-quality placeholder