Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.31 KB

configuration.md

File metadata and controls

56 lines (38 loc) · 2.31 KB

As same as a standard theme, we need to fill theme information inside style.css file. All necessary guides you will find in Codex.

[alert type="danger"]styles.css file is responsible only for providing theme informations that are displayed in Apperance > Themes. Do not write in here any css declarations.[/alert]

All application configs are located inside config directory. Every option has a short description, scan this files in order to know what each does.

[alert type="info"]Take a look at Codex for all avaiable support options.[/alert]

We enabled most common theme supports for you in app\Providers\AppServiceProvider class and addSupport method. However, feel free to add your own entries there.

To enable an additional option, simply add a new position to the array where the key is option slug and value is option argument.

protected function addSupport()
{
    Support::add([
        'title-tag' => true,
    ]);
}

[alert type="info"]Use true if option do not have any specific argument value.[/alert]

Along with styles.css, there is also standard screenshot.png image. Change it if you want a custom theme thumbnail.

All Assely framework custom fields are extracted into own separated plugin called Fielder. In order to be able to add custom fields (highly likely, yes) you need to pull in this plugin too. Read more in fielder docs.