Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit 7094a4a

Browse files
Fixes block comments
1 parent 10066c8 commit 7094a4a

File tree

4 files changed

+79
-79
lines changed

4 files changed

+79
-79
lines changed

bootstrap/compatibility.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| required to correct functioning. When package is missing
1010
| display error messages on the front and admin.
1111
|
12-
*/
12+
*/
1313

1414
// Include detect plugin function.
1515
if (! function_exists('is_plugin_active')) {

bootstrap/theme.php

+17-17
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,29 @@
1515

1616

1717
/*
18-
|-----------------------------------------------------------
19-
| Bind Theme Config
20-
|-----------------------------------------------------------
21-
|
22-
| We neet to bind configs like theme's paths, directories and
23-
| files to autoload. This values will be used by the rest
24-
| of theme components like assets, templates etc.
25-
|
26-
*/
18+
|-----------------------------------------------------------
19+
| Bind Theme Config
20+
|-----------------------------------------------------------
21+
|
22+
| We neet to bind configs like theme's paths, directories and
23+
| files to autoload. This values will be used by the rest
24+
| of theme components like assets, templates etc.
25+
|
26+
*/
2727

2828
$config = require __DIR__ . '/../config/app.php';
2929

3030
$theme->bind('config', new Tonik\Gin\Foundation\Config($config));
3131

3232

3333
/*
34-
|-----------------------------------------------------------
35-
| Return the Theme
36-
|-----------------------------------------------------------
37-
|
38-
| Here we returns the theme instance. Later, this instance
39-
| is used for autoload all theme's core component.
40-
|
41-
*/
34+
|-----------------------------------------------------------
35+
| Return the Theme
36+
|-----------------------------------------------------------
37+
|
38+
| Here we returns the theme instance. Later, this instance
39+
| is used for autoload all theme's core component.
40+
|
41+
*/
4242

4343
return $theme;

config/app.php

+50-50
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
11
<?php
22

33
return [
4-
/**
5-
|--------------------------------------------------------------------------
6-
| Theme Textdomain
7-
|--------------------------------------------------------------------------
8-
|
9-
| Determines a textdomain for your theme. Should be used to dynamically set
10-
| namespace for gettext strings across theme. Remember, this value must
11-
| be in sync with `Text Domain:` entry inside style.css theme file.
12-
|
13-
*/
4+
/*
5+
|--------------------------------------------------------------------------
6+
| Theme Textdomain
7+
|--------------------------------------------------------------------------
8+
|
9+
| Determines a textdomain for your theme. Should be used to dynamically set
10+
| namespace for gettext strings across theme. Remember, this value must
11+
| be in sync with `Text Domain:` entry inside style.css theme file.
12+
|
13+
*/
1414
'textdomain' => '{{ theme.textdomain }}',
1515

16-
/**
17-
|--------------------------------------------------------------------------
18-
| Templates files extension
19-
|--------------------------------------------------------------------------
20-
|
21-
| Determines the theme's templates settings like an extension of the files.
22-
| By default, they use `.tpl.php` suffix to distinguish template files
23-
| from controllers, but you are free to change it however you like.
24-
|
25-
*/
16+
/*
17+
|--------------------------------------------------------------------------
18+
| Templates files extension
19+
|--------------------------------------------------------------------------
20+
|
21+
| Determines the theme's templates settings like an extension of the files.
22+
| By default, they use `.tpl.php` suffix to distinguish template files
23+
| from controllers, but you are free to change it however you like.
24+
|
25+
*/
2626
'templates' => [
2727
'extension' => '.tpl.php'
2828
],
2929

30-
/**
31-
|--------------------------------------------------------------------------
32-
| Theme Root Paths
33-
|--------------------------------------------------------------------------
34-
|
35-
| This values determines the "root" paths of your theme. By default,
36-
| they use WordPress `get_template_directory` functions and
37-
| probably you don't need make any changes in here.
38-
|
39-
*/
30+
/*
31+
|--------------------------------------------------------------------------
32+
| Theme Root Paths
33+
|--------------------------------------------------------------------------
34+
|
35+
| This values determines the "root" paths of your theme. By default,
36+
| they use WordPress `get_template_directory` functions and
37+
| probably you don't need make any changes in here.
38+
|
39+
*/
4040
'paths' => [
4141
'directory' => get_template_directory(),
4242
'uri' => get_template_directory_uri(),
4343
],
4444

45-
/**
46-
|--------------------------------------------------------------------------
47-
| Theme Directory Structure Paths
48-
|--------------------------------------------------------------------------
49-
|
50-
| This array of directories will be used within core for locating
51-
| and loading theme files, assets and templates. They must be
52-
| given as relative to the `root` theme directory.
53-
|
54-
*/
45+
/*
46+
|--------------------------------------------------------------------------
47+
| Theme Directory Structure Paths
48+
|--------------------------------------------------------------------------
49+
|
50+
| This array of directories will be used within core for locating
51+
| and loading theme files, assets and templates. They must be
52+
| given as relative to the `root` theme directory.
53+
|
54+
*/
5555
'directories' => [
5656
'languages' => 'resources/languages',
5757
'templates' => 'resources/templates',
@@ -60,16 +60,16 @@
6060
'app' => 'app',
6161
],
6262

63-
/**
64-
|--------------------------------------------------------------------------
65-
| Autoloaded Theme Components
66-
|--------------------------------------------------------------------------
67-
|
68-
| The components listed below will be automatically loaded on the
69-
| theme bootstrap by `functions.php` file. Feel free to add your
70-
| own files to this array which you would like to autoload.
71-
|
72-
*/
63+
/*
64+
|--------------------------------------------------------------------------
65+
| Autoloaded Theme Components
66+
|--------------------------------------------------------------------------
67+
|
68+
| The components listed below will be automatically loaded on the
69+
| theme bootstrap by `functions.php` file. Feel free to add your
70+
| own files to this array which you would like to autoload.
71+
|
72+
*/
7373
'autoload' => [
7474
'helpers.php',
7575
'Structure/posttypes.php',

functions.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22

33
/*
4-
|------------------------------------------------------------------
5-
| Bootstraping a Theme
6-
|------------------------------------------------------------------
7-
|
8-
| This file is responsible for bootstrapping your theme. Autoloads
9-
| composer packages, checks compatibility and loads theme files.
10-
| Most likely, you don't need to change anything in this file.
11-
| Your theme custom logic should be distributed across a
12-
| separated components in the `/app` directory.
13-
|
14-
*/
4+
|------------------------------------------------------------------
5+
| Bootstraping a Theme
6+
|------------------------------------------------------------------
7+
|
8+
| This file is responsible for bootstrapping your theme. Autoloads
9+
| composer packages, checks compatibility and loads theme files.
10+
| Most likely, you don't need to change anything in this file.
11+
| Your theme custom logic should be distributed across a
12+
| separated components in the `/app` directory.
13+
|
14+
*/
1515

1616
// Require Composer's autoloading file
1717
// if it's present in theme directory.

0 commit comments

Comments
 (0)