Skip to content
Nicolas Juen edited this page Aug 3, 2018 · 15 revisions

/!\DRAFT

Folders

The folders structure is defined by the means of the content in it.

Basic structure

The basic structure for the theme is like this :

├── assets
│   ├── acf
│   │   ├── json
│   │   └── php
│   ├── facetwp
│   └── searchwp
└── components
    ├── acf
    ├── blocks
    ├── loops
    ├── parts
    └── templates
└── views

Assets

The assets folder contains all the static code for the configuration of the plugins like

  • ACF
  • SearchWP
  • FacetWP

The goal of theses folders is to handle the .json and .php files needed for the configuration.

Naming

The files naming is for ACF

  • JSON : {group-slug}.json
  • PHP {group_slug}.php

The files naming for SearchWP

  • JSON : config.json

The files naming for facetWP

  • JSON : config.json
Clone this wiki locally