Skip to content

shoptet/microsite-developers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Jakub Kolář
Nov 8, 2023
cefec73 · Nov 8, 2023

History

22 Commits
Nov 8, 2023
Feb 24, 2021
Nov 8, 2023
Sep 9, 2020
Mar 4, 2019
Feb 20, 2019
Apr 1, 2020
Apr 1, 2020
Nov 8, 2023
Dec 15, 2020
Nov 8, 2023

Repository files navigation

Shoptet "developers" microsite template

Prerequisities

Usage

  • Install latest version of Wordpress from https://wordpress.org/download/
  • cd path_to_wordpress/wp-content/
  • rm -rf plugins
  • git clone [email protected]:Shoptet/shoptet-wp-plugins.git plugins
  • cd path_to_wordpress/wp-content/themes/
  • git clone [email protected]:Shoptet/shoptet-wp-theme.git shoptet-wp-theme
  • cd shoptet-wp-theme
  • git submodule init
  • git submodule update
  • git clone [email protected]:Shoptet/microsite-developers.git src
  • cd src
  • npm install - only for first time
  • grunt - enable watch mode for SCSS & JS files
  • grunt build - build CSS & JS files

Go to WP admin and:

  • set shoptet-wp-theme template
  • activate installed plugins

Workflow

  • DO NOT edit anything outside src repository*
  • you can use src/functions.php, e.g. for registering new widgets
  • you can create custom page templates in src folder
  • use as many shared parts as possible, use template-parts folder
  • log in to admin in editor role to avoid unwanted theme changes
  • when the theme is ready, attach complete export from Wordpress