Child of Twenty Twenty master theme. Both themes are REQUIRED on the server for this theme to work properly
template | file | plugin dependancy | logic |
---|---|---|---|
Singular product | inc/content-product.php |
Advanced Custom Fields | Display « price and availability » (product-price ) from ACF |
Singular product | inc/content-product.php |
Advanced Custom Fields | Display optional « Taste tags » (tastetag ) aside of the featured image of the product. |
Singular product | inc/content-product.php |
Advanced Custom Fields | Display « wine specifications » (product-specs ) as a datagrid. |
Singular product | inc/content-product.php |
Advanced Custom Fields | Display « bottle specifications » (product-specs ) as a datagrid. |
- Latest version Twenty20-acf on Github
- Twenty Twenty (v.1.8)
- NodeJs
- npm package [Dart Sass](https://www.npmjs.com/package/sass" target="nodejs) for compiling stylesheets from
/src/sass/
to/assets/css/
.
- npm package [Dart Sass](https://www.npmjs.com/package/sass" target="nodejs) for compiling stylesheets from
bash command line | description |
---|---|
npm run watch |
Re-compile the Sass files on every Save action in a .scss file detected by the OS. |
npm run compile |
Compile all Sass files only once. IMPORTANT to run this one before uploading via FTP on production server. |
- Advanced Custom Fields PRO (ACF) (version 5.10.2) for product detailed pages (
/singular-product.php
).- ACF fields are declared via PHP within the
functions.php
file. Any key parameters or values that are define in the functions file is prioritise over what is set in ACF database via dashboard.
- ACF fields are declared via PHP within the