Skip to content

xBLADEx/custom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest SemVer) Node version (lts) NPM version (npm) Commitizen friendly semantic-release Maintained License: MIT

Custom WordPress Theme

Development

To develop with this theme you will need to install the following:

  • node
  • npm i -g npm - Install the latest npm version globally.

Windows

  • windows-build-tools
  • npm install --global windows-build-tools - Install so node modules can compile. Command Prompt (Run As Administator)

In the theme folder the following commands are available:

  • npm install - Install the packages.
  • npm run build - Compile CSS and JS with sourcemaps.
  • npm run prod - Compile CSS and JS without sourcemaps.
  • npm run watch - Continuous compiling. Runs Browsersync in the browser.

Slick Slider

To enable:

  • Uncomment fonts path in CopyWebpackPlugin.
  • Uncomment imports in vendor > index.scss.
  • Uncomment slick-slider in js > index.js.
  • Uncomment slider sizes in functions > media-custom.php.

Required Plugins

  • Yoast SEO - Required for <title> tag and breadcrumbs.
  • ACF PRO - Required for page sub header and customization.

reCAPTCHA v3

  • reCAPTCHA - Required for custom form. Add keys to functions.php and google-recaptcha.js.