Skip to content

Commit

Permalink
[Update] The new version 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seatonjiang committed Apr 1, 2018
1 parent 662d1b3 commit b2cd9fb
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 77 deletions.
90 changes: 47 additions & 43 deletions README.md → .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,64 +2,62 @@

A clean, simple and responsive blog theme of WordPress, based on [Bootstrap](https://github.com/twbs/bootstrap) and [Font Awesome](https://github.com/FortAwesome/Font-Awesome). Created and maintained by Vtrois.

![Kratos Demo](http://i2.bvimg.com/1949/649bfde164c5c8b1.png)
![Kratos Demo](https://s1.ax1x.com/2018/04/01/9zYjNn.png)

## Structure
Within the download you'll find the following directories and files. You'll see something like this :point_down:

```
kratos/
├── css/
kratos
├── 404.php
├── LICENSE
├── comments.php
├── content.php
├── css
│ ├── animate.min.css
│ ├── bootstrap.min.css
│ ├── font-awesome.min.css
│ ├── kratos.diy.css
│ ├── layer.min.css
│ └── superfish.min.css
├── js/
│ ├── buttons(has some button pic)
│ ├── jquery.min.js
│ ├── jquery.easing.js
│ ├── jquery.qrcode.js
│ ├── jquery.qrcode.min.js
│ ├── jquery.stellar.min.js
│ ├── jquery.waypoints.min.js
│ ├── kratos.js
│ ├── kratos.diy.js
│ ├── layer.min.js
│ ├── superfish.js
│ ├── modernizr.min.js
│ └── bootstrap.min.js
├── fonts/
│ ├── Din.otf
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ └── fontawesome-webfont.woff2
├── images/
│ ├── options(has some options pic)
│ ├── smilies(has some emoji pic)
├── footer.php
├── functions.php
├── header-abstract.php
├── header-banner.php
├── header.php
├── images
│ ├── 404.jpg
│ ├── about.jpg
│ ├── ad.png
│ ├── arrow.png
│ ├── about.png
│ ├── avatar.png
│ ├── background.jpg
│ ├── default.jpg
│ ├── fingerprint.png
│ ├── weixin.png
│ └── licenses.png
├── inc/
│ ├── icon-ext.png
│ ├── icon-police.png
│ ├── icon.png
│ ├── licenses.png
│ ├── options(has some options pic)
│ ├── smilies(has some emoji pic)
│ ├── ul-li.png
│ └── weixin.png
├── inc
│ ├── share.php
│ ├── theme-options
│ │ ├── css
│ │ │ └── optionsframework.css
│ │ ├── images
│ │ │ └── ico-delete.png
│ │ ├── theme-options
│ │ │ └── ico-delete.png
│ │ ├── includes
│ │ │ ├── class-options-framework.php
│ │ │ ├── class-options-framework-admin.php
│ │ │ ├── class-options-framework.php
│ │ │ ├── class-options-interface.php
│ │ │ ├── class-options-media-uploader.php
│ │ │ └── class-options-sanitization.php
Expand All @@ -69,23 +67,29 @@ kratos/
│ │ └── options-framework.php
│ ├── version.php
│ └── widgets.php
├── 404.php
├── style.css
├── index.php
├── header.php
├── header-banner.php
├── footer.php
├── comments.php
├── content.php
├── js
│ ├── bootstrap.min.js
│ ├── buttons(has some button pic)
│ │ └── more.js
│ ├── hoverIntent.min.js
│ ├── jquery.easing.min.js
│ ├── jquery.min.js
│ ├── jquery.qrcode.min.js
│ ├── jquery.stellar.min.js
│ ├── jquery.waypoints.min.js
│ ├── kratos.js
│ ├── layer.min.js
│ ├── modernizr.min.js
│ └── superfish.js
├── options.php
├── sidebar.php
├── page-home.php
├── page-notitle.php
├── page.php
├── screenshot.png
├── single.php
├── smiley.php
├── page.php
├── page-notitle.php
├── page-home.php
├── functions.php
└── screenshot.png
└── style.css
```

## License
Expand Down
6 changes: 3 additions & 3 deletions 404.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* The template for displaying 404 pages (not found)
*
* @package Vtrois
* @version 2.4
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/
get_header(); ?>
<div class="kratos-start">
Expand Down
7 changes: 3 additions & 4 deletions comments.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
/**
* The template for displaying comments
*
* @package Vtrois
* @version 2.1
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/

if ( post_password_required() ) {
return;
}
Expand Down
7 changes: 3 additions & 4 deletions content.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
/**
* The default template for displaying content
*
* @package Vtrois
* @version 2.4
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/

$listlayout = kratos_option('list_layout');
$listlayout = (empty($listlayout)) ? 'new_layout' : $listlayout; ?>
<article class="kratos-hentry clearfix">
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
require_once( get_template_directory() . '/inc/version.php' );
$kratos_update_checker = new ThemeUpdateChecker(
'Kratos',
'https://raw.githubusercontent.com/Vtrois/Kratos/master/inc/upgrade.json'
'https://mirrors.vtrois.com/kratos/upgrade.json'
);

/**
Expand Down
7 changes: 3 additions & 4 deletions header-abstract.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
/**
* The template for displaying the header
*
* @package Vtrois
* @version 2.0
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/

switch (kratos_option('background_mode')) {
case 'image':
if(kratos_option('background_image')){
Expand Down
7 changes: 3 additions & 4 deletions header-banner.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
/**
* The template for displaying the header
*
* @package Vtrois
* @version 2.3
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/

switch (kratos_option('background_mode')) {
case 'image':
if(kratos_option('background_image')){
Expand Down
7 changes: 3 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
/**
* The main template file
*
* @package Vtrois
* @version 2.3
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/

get_header(); ?>
<?php
if(is_category()){
Expand Down
6 changes: 3 additions & 3 deletions page.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* The template for displaying pages
*
* @package Vtrois
* @version 2.4
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/
$page_side_bar = kratos_option('page_side_bar');
$page_side_bar = (empty($page_side_bar)) ? 'right_side' : $page_side_bar;
Expand Down
7 changes: 3 additions & 4 deletions single.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
/**
* The template for displaying all single posts and attachments
*
* @package Vtrois
* @version 2.3
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/

$sidebar = kratos_option('side_bar');
$sidebar = (empty($sidebar)) ? 'right_side' : $sidebar;
get_header();
Expand Down
6 changes: 3 additions & 3 deletions smiley.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* The template for Comments on the emoji
*
* @package Vtrois
* @version 1.0
*
* @author Vtrois <seaton@vtrois.com>
* @license GPL-3.0
*/
?><script type="text/javascript" language="javascript">
/* <![CDATA[ */
Expand Down

0 comments on commit b2cd9fb

Please sign in to comment.