-
Notifications
You must be signed in to change notification settings - Fork 6
2. Sturcture
Nikita Bolotov edited this page Mar 6, 2019
·
1 revision
- app/ – core files
- Controller/
- Backend.php – wp-admin functions
- Front.php – front-end functions
- HTTP2.php – HTTP2 support preload
- Init.php – theme initialization
- LazyLoad.php – lazy load for images
- Menu.php – menu registration hooks and methods
- OAuth.php – Oauth support
- Optimization.php – removes unnecessary tags
- PostTypes.php – registering custom post types
- Shortcodes.php – registering shortcodes
- VisualComposer.php – settings for Page Builder
- WalkerBootstrap.php – add bootstrap menu walker
- Helper/ – Helpers classes
- Front.php - front-end page helpers
- Media.php - media helpers
- Utils.php - other useful functions
- Model/ – models to work with database
- Database.php - DB model
- Layout.php - page layout model
- News.php - posts model
- Post.php - news post type model
- Shortcode.php - shortcode model
- Shortcodes/ – shortcodes library (works with/without WPBakery Page Builder)
- Alert - alert block (icon, styling)
- Button - button element (icon, link, layout, styling)
- Contact Form - form and form elements (checkbox, email, file uploader, text, datepicker and other)
- Google Map
- Heading - heading h1,h2,h3,h4,h5,h6 (font styling, layout)
- Menu - custom menu with desktop and mobile devices support
- News - news block
- Posts - posts block (pagination, styling)
- Pricing Table - pricing table (price settings, styling)
- Social Login - login using social networks Facebook, Twitter, Google
- Tabs - tabs shortcode
- Toggles - accordion shortcode
- View/ – templates (included in controller)
- Widgets/ – widgets (included in controller)
- Controller/
- assets/ – theme assets(not complied or not needed to compile)
- css/
- fonts/
- images/
- js/
- libs/
- build - webpack configs
- dist - webpack compiled assets path
- framework-customizations/ – Unyson customization (see https://github.com/ThemeFuse/Scratch-Theme)
- template-parts/ – default WordPress templates (included in files below)
- vendor-custom/ – third-party development
- 404.php
- comments.php
- footer.php
- functions.php
- header.php
- index.php
- package.json
- package-lock.json
- composer.json
- composer.lock
- page.php
- page-tpl-no-sidebar.php
- postcss.config.css
- screenshot.png
- sidebar.php
- single.php
- style.css
- webpack.config.js