Custom WordPress theme for Contoh Landing Page
- Install WordPress on your computer.
- Clone this repository inside
/wp-content/themes
folder. - Create empty pages to show the page:
- Home: Index page.
- Blog: Blog posts page with permalink
blog
.
- Set index page to display static page:
- Set Your homepage displays to A static page with these settings:
- Homepage -> Home
- Posts page -> Blog
- Save changes.
- Set Your homepage displays to A static page with these settings:
- Open
Settings > Permalink
and set Common settings to Post name. Save changes. - Activate theme on
Appearances > Themes
.
- Run
npm install
to download dependencies. - Run
npm run watch
to automatically build after changes are saved. - Run
npm run build
to build and minimize assets for production.
/assets/images
to store icons and other assets/src/assets/images
to store background images called byurl()
from.scss
files