├── app └── themes │ └── class-central │ ├── assets │ ├── img │ │ ├── .gitignore │ │ ├── sprites.png │ │ ├── feed-icon.png │ │ └── feed-icon-28x28.png │ ├── less │ │ ├── components │ │ │ ├── _modalbox.less │ │ │ ├── _ratingsbubble.less │ │ │ ├── _base.less │ │ │ ├── _commentlist.less │ │ │ ├── _comment-respond.less │ │ │ ├── _pagination.less │ │ │ ├── _header.less │ │ │ ├── _homecontent.less │ │ │ └── _navbar.less │ │ ├── bootstrap │ │ │ ├── component-animations.less │ │ │ ├── wells.less │ │ │ ├── breadcrumbs.less │ │ │ ├── close.less │ │ │ ├── thumbnails.less │ │ │ ├── utilities.less │ │ │ ├── jumbotron.less │ │ │ ├── media.less │ │ │ ├── pager.less │ │ │ ├── bootstrap.less │ │ │ ├── badges.less │ │ │ ├── labels.less │ │ │ ├── code.less │ │ │ ├── alerts.less │ │ │ ├── grid.less │ │ │ ├── progress-bars.less │ │ │ ├── print.less │ │ │ ├── pagination.less │ │ │ ├── responsive-utilities.less │ │ │ ├── tooltip.less │ │ │ ├── scaffolding.less │ │ │ ├── list-group.less │ │ │ ├── popovers.less │ │ │ ├── modals.less │ │ │ ├── buttons.less │ │ │ └── input-groups.less │ │ ├── app.less │ │ ├── bootstrap_custom.less │ │ └── custom_mixins.less │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ └── js │ │ ├── vendor │ │ ├── jQuery.headroom.min.js │ │ └── headroom.min.js │ │ ├── plugins │ │ ├── bootstrap │ │ │ ├── transition.js │ │ │ ├── alert.js │ │ │ ├── button.js │ │ │ ├── tab.js │ │ │ ├── popover.js │ │ │ ├── affix.js │ │ │ └── dropdown.js │ │ └── fitvids.js │ │ └── _main.js │ ├── templates │ ├── single │ │ ├── social.php │ │ ├── pagination.php │ │ ├── meta.php │ │ ├── single-banner.php │ │ ├── single-footer.php │ │ ├── single-content.php │ │ └── comments.php │ ├── index │ │ ├── pagination.php │ │ ├── index-banner.php │ │ └── index-content.php │ ├── _unused │ │ ├── content-page.php │ │ ├── searchform.php │ │ ├── comment.php │ │ └── comments.php │ ├── layout │ │ ├── head.php │ │ └── footer.php │ └── sidebar.php │ ├── lang │ ├── ar.mo │ ├── ca.mo │ ├── el.mo │ ├── et.mo │ ├── ja.mo │ ├── bg_BG.mo │ ├── da_DK.mo │ ├── de_DE.mo │ ├── es_ES.mo │ ├── fa_IR.mo │ ├── fi_FI.mo │ ├── fr_FR.mo │ ├── he_IL.mo │ ├── hu_HU.mo │ ├── id_ID.mo │ ├── it_IT.mo │ ├── ko_KR.mo │ ├── mk_MK.mo │ ├── ms_MY.mo │ ├── nb_NO.mo │ ├── nl_NL.mo │ ├── nn_NO.mo │ ├── pl_PL.mo │ ├── pt_BR.mo │ ├── ro_RO.mo │ ├── ru_RU.mo │ ├── sk_SK.mo │ ├── sr_RS.mo │ ├── sv_SE.mo │ ├── tr_TR.mo │ ├── vi_VN.mo │ ├── zh_CN.mo │ └── zh_TW.mo │ ├── screenshot.png │ ├── page.php │ ├── .editorconfig │ ├── style.css │ ├── lib │ ├── utils.php │ ├── shortcodes.php │ ├── init.php │ ├── titles.php │ ├── wrapper.php │ ├── sidebar.php │ ├── relative-urls.php │ ├── comments.php │ ├── config.php │ ├── scripts.php │ ├── widgets │ │ ├── recent-posts.php │ │ └── featured-post.php │ ├── nav.php │ ├── custom.php │ ├── gallery.php │ └── widgets.php │ ├── single.php │ ├── .jshintrc │ ├── 404.php │ ├── base.php │ ├── package.json │ ├── index.php │ ├── functions.php │ ├── README.md │ └── Gruntfile.js ├── index.php ├── LICENSE.txt ├── README.md ├── .gitignore ├── wp-config.php └── wp-config-local.php /app/themes/class-central/assets/img/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/single/social.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/index/pagination.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/single/pagination.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/components/_modalbox.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/themes/class-central/lang/ar.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/ar.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/ca.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/ca.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/el.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/el.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/et.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/et.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/ja.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/ja.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/bg_BG.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/bg_BG.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/da_DK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/da_DK.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/de_DE.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/es_ES.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/fa_IR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/fa_IR.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/fi_FI.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/fi_FI.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/fr_FR.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/he_IL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/he_IL.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/hu_HU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/hu_HU.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/id_ID.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/id_ID.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/it_IT.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/ko_KR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/ko_KR.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/mk_MK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/mk_MK.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/ms_MY.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/ms_MY.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/nb_NO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/nb_NO.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/nl_NL.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/nn_NO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/nn_NO.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/pl_PL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/pl_PL.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/pt_BR.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/ro_RO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/ro_RO.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/ru_RU.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/sk_SK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/sk_SK.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/sr_RS.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/sr_RS.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/sv_SE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/sv_SE.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/tr_TR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/tr_TR.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/vi_VN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/vi_VN.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/zh_CN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/zh_CN.mo -------------------------------------------------------------------------------- /app/themes/class-central/lang/zh_TW.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/lang/zh_TW.mo -------------------------------------------------------------------------------- /app/themes/class-central/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/screenshot.png -------------------------------------------------------------------------------- /app/themes/class-central/assets/img/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/assets/img/sprites.png -------------------------------------------------------------------------------- /app/themes/class-central/assets/img/feed-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/assets/img/feed-icon.png -------------------------------------------------------------------------------- /app/themes/class-central/page.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/img/feed-icon-28x28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/assets/img/feed-icon-28x28.png -------------------------------------------------------------------------------- /app/themes/class-central/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/themes/class-central/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/themes/class-central/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/classcentral/blue-steel/HEAD/app/themes/class-central/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/themes/class-central/templates/_unused/content-page.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | '')); ?> 4 | 5 | -------------------------------------------------------------------------------- /app/themes/class-central/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | -------------------------------------------------------------------------------- /app/themes/class-central/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Class-Central 3 | Theme URI: http://class-central.com/ 4 | Description: Custom blog theme for Class-Central based on Roots 5 | Version: 1.0 6 | Author: Codelight 7 | Author URI: http://codelight.eu/ 8 | */ 9 | -------------------------------------------------------------------------------- /app/themes/class-central/lib/utils.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |
9 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/single/meta.php: -------------------------------------------------------------------------------- 1 | 2 |

3 | -------------------------------------------------------------------------------- /app/themes/class-central/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "bitwise": true, 3 | "browser": true, 4 | "curly": true, 5 | "eqeqeq": true, 6 | "eqnull": true, 7 | "esnext": true, 8 | "immed": true, 9 | "jquery": true, 10 | "latedef": true, 11 | "newcap": true, 12 | "noarg": true, 13 | "node": true, 14 | "strict": false, 15 | "trailing": true 16 | } 17 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | 6 |
7 | 8 |

9 | 13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/js/vendor/jQuery.headroom.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * headroom.js v0.5.0 - Give your page some headroom. Hide your header until you need it 3 | * Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/headroom.js 4 | * License: MIT 5 | */ 6 | 7 | !function(a){a&&(a.fn.headroom=function(b){return this.each(function(){var c=a(this),d=c.data("headroom"),e="object"==typeof b&&b;e=a.extend(!0,{},Headroom.options,e),d||(d=new Headroom(this,e),d.init(),c.data("headroom",d)),"string"==typeof b&&d[b]()})},a("[data-headroom]").each(function(){var b=a(this);b.headroom(b.data())}))}(window.Zepto||window.jQuery); -------------------------------------------------------------------------------- /app/themes/class-central/templates/_unused/searchform.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | .transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | &.in { 21 | display: block; 22 | } 23 | } 24 | .collapsing { 25 | position: relative; 26 | height: 0; 27 | overflow: hidden; 28 | .transition(height .35s ease); 29 | } 30 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @well-bg; 12 | border: 1px solid @well-border; 13 | border-radius: @border-radius-base; 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-lg { 23 | padding: 24px; 24 | border-radius: @border-radius-large; 25 | } 26 | .well-sm { 27 | padding: 9px; 28 | border-radius: @border-radius-small; 29 | } 30 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/layout/head.php: -------------------------------------------------------------------------------- 1 | 2 | > 3 | 4 | 5 | 6 | <?php wp_title('|', true, 'right'); ?> 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/themes/class-central/base.php: -------------------------------------------------------------------------------- 1 | 2 | > 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/themes/class-central/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "roots", 3 | "version": "6.5.2", 4 | "author": "Ben Word ", 5 | "homepage": "http://roots.io", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/roots/roots.git" 9 | }, 10 | "bugs": { 11 | "url" : "https://github.com/roots/roots/issues" 12 | }, 13 | "licenses": [{ 14 | "type": "MIT", 15 | "url": "http://opensource.org/licenses/MIT" 16 | }], 17 | "engines": { 18 | "node": ">= 0.10.0" 19 | }, 20 | "devDependencies": { 21 | "grunt": "~0.4.2", 22 | "grunt-contrib-clean": "~0.5.0", 23 | "grunt-contrib-jshint": "~0.6.4", 24 | "grunt-contrib-uglify": "~0.2.4", 25 | "grunt-contrib-watch": "~0.5.3", 26 | "grunt-contrib-less": "~0.8.1", 27 | "grunt-wp-version": "~0.1.0" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/components/_ratingsbubble.less: -------------------------------------------------------------------------------- 1 | /* =number-of-ratings-bubble 2 | ----------------------------------------------------------------------------- */ 3 | 4 | .number-of-ratings-bubble { 5 | display: block; 6 | position: relative; 7 | min-width: 14px; 8 | padding: 0 3px; 9 | font-size: 10px !important; 10 | font-weight: 400 !important; 11 | background-color: #0662a1 !important; 12 | color: #fff !important; 13 | text-align: center; 14 | text-decoration: none !important; 15 | display: inline-block; 16 | } 17 | 18 | .number-of-ratings-bubble:after { 19 | content: ""; 20 | position: absolute; 21 | bottom: -5px; 22 | left: 4px; 23 | border-width: 5px 5px 0 0; 24 | border-style: solid; 25 | border-color: #0662a1 transparent transparent transparent; 26 | display: block; 27 | width: 0; 28 | } 29 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/_unused/comment.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |

4 | 5 | 6 | 7 | comment_approved == '0') : ?> 8 |
9 | 10 |
11 | 12 | 13 | 14 | $depth, 'max_depth' => $args['max_depth']))); ?> 15 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/app.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Roots 6.5.2 3 | */ 4 | 5 | @import "bootstrap_custom.less"; 6 | 7 | @import "components/_base.less"; 8 | @import "components/_icons.less"; 9 | @import "components/_navbar.less"; 10 | @import "components/_header.less"; 11 | @import "components/_homecontent.less"; 12 | @import "components/_singlecontent.less"; 13 | @import "components/_pagination.less"; 14 | @import "components/_sidebar.less"; 15 | @import "components/_footer.less"; 16 | @import "components/_modalbox.less"; 17 | @import "components/_starrating.less"; 18 | @import "components/_reviewwidget.less"; 19 | @import "components/_ratingsbubble.less"; 20 | @import "components/_commentlist.less"; 21 | @import "components/_comment-respond.less"; 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: (@font-size-base * 1.5); 9 | font-weight: @close-font-weight; 10 | line-height: 1; 11 | color: @close-color; 12 | text-shadow: @close-text-shadow; 13 | .opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: @close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | .opacity(.5); 21 | } 22 | 23 | // Additional properties for button version 24 | // iOS requires the button element instead of an anchor tag. 25 | // If you want the anchor version, it requires `href="#"`. 26 | button& { 27 | padding: 0; 28 | cursor: pointer; 29 | background: transparent; 30 | border: 0; 31 | -webkit-appearance: none; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Mixin and adjust the regular image class 7 | .thumbnail { 8 | display: block; 9 | padding: @thumbnail-padding; 10 | margin-bottom: @line-height-computed; 11 | line-height: @line-height-base; 12 | background-color: @thumbnail-bg; 13 | border: 1px solid @thumbnail-border; 14 | border-radius: @thumbnail-border-radius; 15 | .transition(all .2s ease-in-out); 16 | 17 | > img, 18 | a > img { 19 | &:extend(.img-responsive); 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | // Add a hover state for linked versions only 25 | a&:hover, 26 | a&:focus, 27 | a&.active { 28 | border-color: @link-color; 29 | } 30 | 31 | // Image captions 32 | .caption { 33 | padding: @thumbnail-caption-padding; 34 | color: @thumbnail-caption-color; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/single/single-banner.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |

5 | 6 |

7 | 8 |

9 | 10 |
11 |
12 | 13 | 14 | Photo by 15 | 16 | Photo by 17 | 18 | 19 |
20 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/components/_base.less: -------------------------------------------------------------------------------- 1 | // fix for the chrome font rendering bug 2 | body { 3 | -webkit-animation-delay: 0.1s; 4 | -webkit-animation-name: fontfix; 5 | -webkit-animation-duration: 0.1s; 6 | -webkit-animation-iteration-count: 1; 7 | -webkit-animation-timing-function: linear; 8 | } 9 | 10 | @-webkit-keyframes fontfix { 11 | from { opacity: 1; } 12 | to { opacity: 1; } 13 | } 14 | 15 | .cc-404 { 16 | min-height: 600px; 17 | margin-top: 70px; 18 | font-size: 18px; 19 | } 20 | 21 | .section-heading { 22 | display: block; 23 | margin-bottom: 30px; 24 | margin-top: 30px; 25 | color: @white; 26 | font-size: 11px; 27 | font-weight: 500; 28 | border-bottom: 1px solid @purple; 29 | text-transform: uppercase; 30 | overflow: hidden; 31 | } 32 | 33 | .section-heading span { 34 | background: @purple; 35 | display: block; 36 | float: left; 37 | padding: 5px 12px; 38 | } 39 | 40 | #disqus_thread { 41 | margin-bottom: 100px; 42 | } 43 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/components/_commentlist.less: -------------------------------------------------------------------------------- 1 | .commentlist { 2 | padding-left: 0; 3 | margin: 3em 0 0; 4 | 5 | .comment { 6 | display: block; 7 | margin-bottom: 1.3333em; 8 | 9 | &:not(:first-of-type) { 10 | border-top: 1px solid #e8e8e8; 11 | padding-top: 1.3333em; 12 | } 13 | } 14 | 15 | .avatar { 16 | margin-right: .6667em; 17 | margin-bottom: .6667em; 18 | } 19 | 20 | cite { 21 | font-weight: bold; 22 | } 23 | 24 | .commentmetadata { 25 | margin-bottom: .6667em; 26 | } 27 | 28 | .children { 29 | margin: 2em 0 0 .3333em; 30 | padding-left: .6667em; 31 | border-left: .0667em solid #e8e8e8; 32 | 33 | .comment { 34 | border-top: none; 35 | } 36 | } 37 | } 38 | 39 | @media (min-width: @grid-float-breakpoint) { 40 | .commentlist { 41 | .children { 42 | margin-left: .6667em; 43 | padding-left: 1.3333em; 44 | border-left: .0667em solid #e8e8e8; 45 | 46 | .comment { 47 | border-top: none; 48 | } 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Floats 7 | // ------------------------- 8 | 9 | .clearfix { 10 | .clearfix(); 11 | } 12 | .center-block { 13 | .center-block(); 14 | } 15 | .pull-right { 16 | float: right !important; 17 | } 18 | .pull-left { 19 | float: left !important; 20 | } 21 | 22 | 23 | // Toggling content 24 | // ------------------------- 25 | 26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 27 | .hide { 28 | display: none !important; 29 | } 30 | .show { 31 | display: block !important; 32 | } 33 | .invisible { 34 | visibility: hidden; 35 | } 36 | .text-hide { 37 | .text-hide(); 38 | } 39 | 40 | 41 | // Hide from screenreaders and browsers 42 | // 43 | // Credit: HTML5 Boilerplate 44 | 45 | .hidden { 46 | display: none !important; 47 | visibility: hidden !important; 48 | } 49 | 50 | 51 | // For Affix plugin 52 | // ------------------------- 53 | 54 | .affix { 55 | position: fixed; 56 | } 57 | -------------------------------------------------------------------------------- /app/themes/class-central/index.php: -------------------------------------------------------------------------------- 1 | query_vars; 6 | 7 | $args = array( 8 | 'posts_per_page' => 1, 9 | 'paged' => 0, 10 | 'meta_query' => array( 11 | array( 12 | 'key' => 'pinned', 13 | 'value' => '"pinned"', // http://wordpress.stackexchange.com/questions/140833/comparing-arrays-with-meta-query-in-pre-get-posts 14 | 'compare' => 'LIKE' 15 | ) 16 | ) 17 | ); 18 | 19 | $pinned_posts = get_posts(array_merge($query_args, $args)); 20 | 21 | if (empty($pinned_posts)) { 22 | $pinned_posts = $wp_query->get_posts(); 23 | } 24 | 25 | if (count($pinned_posts) > 1) { 26 | $pinned_posts = array($pinned_posts[0]); 27 | } 28 | 29 | $banner = get_field('banner', $pinned_posts[0]->ID); 30 | 31 | ?> 32 | 33 | 34 | 35 |
36 |
37 | 38 | 39 |
40 |
41 | 42 | -------------------------------------------------------------------------------- /app/themes/class-central/lib/shortcodes.php: -------------------------------------------------------------------------------- 1 | Go to Class
"; 20 | } 21 | 22 | 23 | add_shortcode('btn_go_to_class', 'btn_go_to_class'); 24 | 25 | function btn_go_to ($attr) { 26 | 27 | if( !isset($attr['url']) && !isset($attr['text']) ) 28 | { 29 | return ''; 30 | } 31 | $url = $attr['url']; 32 | $text = $attr['text']; 33 | return "
$text
"; 34 | } 35 | 36 | 37 | add_shortcode('btn_go_to', 'btn_go_to'); -------------------------------------------------------------------------------- /app/themes/class-central/lib/init.php: -------------------------------------------------------------------------------- 1 | __('Primary Navigation', 'roots'), 12 | )); 13 | 14 | // Add post thumbnails (http://codex.wordpress.org/Post_Thumbnails) 15 | add_theme_support('post-thumbnails'); 16 | // set_post_thumbnail_size(150, 150, false); 17 | // add_image_size('category-thumb', 300, 9999); // 300px wide (and unlimited height) 18 | 19 | // Add post formats (http://codex.wordpress.org/Post_Formats) 20 | // add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat')); 21 | 22 | // Tell the TinyMCE editor to use a custom stylesheet 23 | add_editor_style('/assets/css/editor-style.css'); 24 | } 25 | add_action('after_setup_theme', 'roots_setup'); 26 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/jumbotron.less: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding: @jumbotron-padding; 8 | margin-bottom: @jumbotron-padding; 9 | color: @jumbotron-color; 10 | background-color: @jumbotron-bg; 11 | 12 | h1, 13 | .h1 { 14 | color: @jumbotron-heading-color; 15 | } 16 | p { 17 | margin-bottom: (@jumbotron-padding / 2); 18 | font-size: @jumbotron-font-size; 19 | font-weight: 200; 20 | } 21 | 22 | .container & { 23 | border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container 24 | } 25 | 26 | .container { 27 | max-width: 100%; 28 | } 29 | 30 | @media screen and (min-width: @screen-sm-min) { 31 | padding-top: (@jumbotron-padding * 1.6); 32 | padding-bottom: (@jumbotron-padding * 1.6); 33 | 34 | .container & { 35 | padding-left: (@jumbotron-padding * 2); 36 | padding-right: (@jumbotron-padding * 2); 37 | } 38 | 39 | h1, 40 | .h1 { 41 | font-size: (@font-size-base * 4.5); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/media.less: -------------------------------------------------------------------------------- 1 | // Media objects 2 | // Source: http://stubbornella.org/content/?p=497 3 | // -------------------------------------------------- 4 | 5 | 6 | // Common styles 7 | // ------------------------- 8 | 9 | // Clear the floats 10 | .media, 11 | .media-body { 12 | overflow: hidden; 13 | zoom: 1; 14 | } 15 | 16 | // Proper spacing between instances of .media 17 | .media, 18 | .media .media { 19 | margin-top: 15px; 20 | } 21 | .media:first-child { 22 | margin-top: 0; 23 | } 24 | 25 | // For images and videos, set to block 26 | .media-object { 27 | display: block; 28 | } 29 | 30 | // Reset margins on headings for tighter default spacing 31 | .media-heading { 32 | margin: 0 0 5px; 33 | } 34 | 35 | 36 | // Media image alignment 37 | // ------------------------- 38 | 39 | .media { 40 | > .pull-left { 41 | margin-right: 10px; 42 | } 43 | > .pull-right { 44 | margin-left: 10px; 45 | } 46 | } 47 | 48 | 49 | // Media list variation 50 | // ------------------------- 51 | 52 | // Undo default ul/ol styles 53 | .media-list { 54 | padding-left: 0; 55 | list-style: none; 56 | } 57 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | padding-left: 0; 8 | margin: @line-height-computed 0; 9 | list-style: none; 10 | text-align: center; 11 | &:extend(.clearfix all); 12 | li { 13 | display: inline; 14 | > a, 15 | > span { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: @pager-bg; 19 | border: 1px solid @pager-border; 20 | border-radius: @pager-border-radius; 21 | } 22 | 23 | > a:hover, 24 | > a:focus { 25 | text-decoration: none; 26 | background-color: @pager-hover-bg; 27 | } 28 | } 29 | 30 | .next { 31 | > a, 32 | > span { 33 | float: right; 34 | } 35 | } 36 | 37 | .previous { 38 | > a, 39 | > span { 40 | float: left; 41 | } 42 | } 43 | 44 | .disabled { 45 | > a, 46 | > a:hover, 47 | > a:focus, 48 | > span { 49 | color: @pager-disabled-color; 50 | background-color: @pager-bg; 51 | cursor: not-allowed; 52 | } 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Class Central, Inc 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/bootstrap.less: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | @import "variables.less"; 3 | @import "mixins.less"; 4 | 5 | // Reset 6 | @import "normalize.less"; 7 | @import "print.less"; 8 | 9 | // Core CSS 10 | @import "scaffolding.less"; 11 | @import "type.less"; 12 | @import "code.less"; 13 | @import "grid.less"; 14 | @import "tables.less"; 15 | @import "forms.less"; 16 | @import "buttons.less"; 17 | 18 | // Components 19 | @import "component-animations.less"; 20 | @import "glyphicons.less"; 21 | @import "dropdowns.less"; 22 | @import "button-groups.less"; 23 | @import "input-groups.less"; 24 | @import "navs.less"; 25 | @import "navbar.less"; 26 | @import "breadcrumbs.less"; 27 | @import "pagination.less"; 28 | @import "pager.less"; 29 | @import "labels.less"; 30 | @import "badges.less"; 31 | @import "jumbotron.less"; 32 | @import "thumbnails.less"; 33 | @import "alerts.less"; 34 | @import "progress-bars.less"; 35 | @import "media.less"; 36 | @import "list-group.less"; 37 | @import "panels.less"; 38 | @import "wells.less"; 39 | @import "close.less"; 40 | 41 | // Components w/ JavaScript 42 | @import "modals.less"; 43 | @import "tooltip.less"; 44 | @import "popovers.less"; 45 | @import "carousel.less"; 46 | 47 | // Utility classes 48 | @import "utilities.less"; 49 | @import "responsive-utilities.less"; 50 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base classes 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: @font-size-small; 12 | font-weight: @badge-font-weight; 13 | color: @badge-color; 14 | line-height: @badge-line-height; 15 | vertical-align: baseline; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: @badge-bg; 19 | border-radius: @badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | .btn-xs & { 32 | top: 0; 33 | padding: 1px 5px; 34 | } 35 | } 36 | 37 | // Hover state, but only for links 38 | a.badge { 39 | &:hover, 40 | &:focus { 41 | color: @badge-link-hover-color; 42 | text-decoration: none; 43 | cursor: pointer; 44 | } 45 | } 46 | 47 | // Account for counters in navs 48 | a.list-group-item.active > .badge, 49 | .nav-pills > .active > a > .badge { 50 | color: @badge-active-color; 51 | background-color: @badge-active-bg; 52 | } 53 | .nav-pills > li > a > .badge { 54 | margin-left: 3px; 55 | } 56 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/index/index-banner.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |

6 | 7 |

8 | 9 |

10 | 11 |

12 | 13 | 14 | Read article > 15 | 16 |
17 |
18 | 19 | 20 | Photo by 21 | 22 | Photo by 23 | 24 | 25 |
26 | 27 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/labels.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: @label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // Add hover effects, but only for links 18 | &[href] { 19 | &:hover, 20 | &:focus { 21 | color: @label-link-hover-color; 22 | text-decoration: none; 23 | cursor: pointer; 24 | } 25 | } 26 | 27 | // Empty labels collapse automatically (not available in IE8) 28 | &:empty { 29 | display: none; 30 | } 31 | 32 | // Quick fix for labels in buttons 33 | .btn & { 34 | position: relative; 35 | top: -1px; 36 | } 37 | } 38 | 39 | // Colors 40 | // Contextual variations (linked labels get darker on :hover) 41 | 42 | .label-default { 43 | .label-variant(@label-default-bg); 44 | } 45 | 46 | .label-primary { 47 | .label-variant(@label-primary-bg); 48 | } 49 | 50 | .label-success { 51 | .label-variant(@label-success-bg); 52 | } 53 | 54 | .label-info { 55 | .label-variant(@label-info-bg); 56 | } 57 | 58 | .label-warning { 59 | .label-variant(@label-warning-bg); 60 | } 61 | 62 | .label-danger { 63 | .label-variant(@label-danger-bg); 64 | } 65 | -------------------------------------------------------------------------------- /app/themes/class-central/templates/single/single-footer.php: -------------------------------------------------------------------------------- 1 | 23 |
24 | 25 | 26 | 29 | 32 | 35 | 36 |
27 | Category 28 |
37 |
38 | 39 | -------------------------------------------------------------------------------- /app/themes/class-central/lib/titles.php: -------------------------------------------------------------------------------- 1 | name); 16 | } elseif (is_post_type_archive()) { 17 | return apply_filters('the_title', get_queried_object()->labels->name); 18 | } elseif (is_day()) { 19 | return sprintf(__('Daily Archives: %s', 'roots'), get_the_date()); 20 | } elseif (is_month()) { 21 | return sprintf(__('Monthly Archives: %s', 'roots'), get_the_date('F Y')); 22 | } elseif (is_year()) { 23 | return sprintf(__('Yearly Archives: %s', 'roots'), get_the_date('Y')); 24 | } elseif (is_author()) { 25 | $author = get_queried_object(); 26 | return sprintf(__('Author Archives: %s', 'roots'), $author->display_name); 27 | } else { 28 | return single_cat_title('', false); 29 | } 30 | } elseif (is_search()) { 31 | return sprintf(__('Search Results for %s', 'roots'), get_search_query()); 32 | } elseif (is_404()) { 33 | return __('Not Found', 'roots'); 34 | } else { 35 | return get_the_title(); 36 | } 37 | } -------------------------------------------------------------------------------- /app/themes/class-central/lib/wrapper.php: -------------------------------------------------------------------------------- 1 | slug = basename($template, '.php'); 25 | $this->templates = array($template); 26 | 27 | if (self::$base) { 28 | $str = substr($template, 0, -4); 29 | array_unshift($this->templates, sprintf($str . '-%s.php', self::$base)); 30 | } 31 | } 32 | 33 | public function __toString() { 34 | $this->templates = apply_filters('roots_wrap_' . $this->slug, $this->templates); 35 | return locate_template($this->templates); 36 | } 37 | 38 | static function wrap($main) { 39 | self::$main_template = $main; 40 | self::$base = basename(self::$main_template, '.php'); 41 | 42 | if (self::$base === 'index') { 43 | self::$base = false; 44 | } 45 | 46 | return new Roots_Wrapping(); 47 | } 48 | } 49 | add_filter('template_include', array('Roots_Wrapping', 'wrap'), 99); 50 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Blue Steel 2 | 3 | **Is there more to a blog than being really really really ridiculously good looking?** 4 | 5 | Of course not. Introducing Blue Steel. 6 | 7 | ### Responsive Wordpress theme using Roots - Inspired by The Verge 8 | Blue steel is a minimalist wordpress theme made by [Class Central](https://www.class-central.com/) and built on top of [Roots](http://roots.io/). The blog post pages are inspired by [The Verge](http://www.theverge.com/) 9 | 10 | ## Live Demo 11 | [Home Page](https://www.class-central.com/report/) 12 | 13 | [Blog Post](https://www.class-central.com/report/udacity-kunal-chawla/) 14 | 15 | 16 | ## Instructions 17 | To use Blue Steel, you need to know and understand how to use [Roots](http://roots.io/) and [Composer](https://getcomposer.org/). It requires modifications before you can use it. The theme contains elements specific to [Class Central](https://www.class-central.com/) i.e footer and navbar. So you will need to fork it and modify to match your needs. If you need someone to help with that, you can reach out to [Codelight](http://codelight.eu/). 18 | 19 | `wp-config.php` refers to `local-wp-config.php` and expects it be a level up from the current folder. Update the database parameters and other settings in this file. Make sure to use accurate values for WP_HOME, WP_SITEURL, WP_CONTENT_DIR, WP_CONTENT_URL; this will save you a lot of headache. 20 | 21 | ## Contributors 22 | This theme was built for [Class Central](https://www.class-central.com/) 23 | 24 | Designed by [Mark Collins](http://pixxel.co/) 25 | 26 | Developed by [Codelight](http://codelight.eu/) 27 | 28 | -------------------------------------------------------------------------------- /app/themes/class-central/lib/sidebar.php: -------------------------------------------------------------------------------- 1 | conditionals = $conditionals; 22 | $this->templates = $templates; 23 | 24 | $conditionals = array_map(array($this, 'check_conditional_tag'), $this->conditionals); 25 | $templates = array_map(array($this, 'check_page_template'), $this->templates); 26 | 27 | if (in_array(true, $conditionals) || in_array(true, $templates)) { 28 | $this->display = false; 29 | } 30 | } 31 | 32 | private function check_conditional_tag($conditional_tag) { 33 | if (is_array($conditional_tag)) { 34 | return $conditional_tag[0]($conditional_tag[1]); 35 | } else { 36 | return $conditional_tag(); 37 | } 38 | } 39 | 40 | private function check_page_template($page_template) { 41 | return is_page_template($page_template); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/code.less: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: @font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: @code-color; 19 | background-color: @code-bg; 20 | white-space: nowrap; 21 | border-radius: @border-radius-base; 22 | } 23 | 24 | // User input typically entered via keyboard 25 | kbd { 26 | padding: 2px 4px; 27 | font-size: 90%; 28 | color: @kbd-color; 29 | background-color: @kbd-bg; 30 | border-radius: @border-radius-small; 31 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 32 | } 33 | 34 | // Blocks of code 35 | pre { 36 | display: block; 37 | padding: ((@line-height-computed - 1) / 2); 38 | margin: 0 0 (@line-height-computed / 2); 39 | font-size: (@font-size-base - 1); // 14px to 13px 40 | line-height: @line-height-base; 41 | word-break: break-all; 42 | word-wrap: break-word; 43 | color: @pre-color; 44 | background-color: @pre-bg; 45 | border: 1px solid @pre-border-color; 46 | border-radius: @border-radius-base; 47 | 48 | // Account for some code outputs that place code tags in pre tags 49 | code { 50 | padding: 0; 51 | font-size: inherit; 52 | color: inherit; 53 | white-space: pre-wrap; 54 | background-color: transparent; 55 | border-radius: 0; 56 | } 57 | } 58 | 59 | // Enable scrollable blocks of code 60 | .pre-scrollable { 61 | max-height: @pre-scrollable-max-height; 62 | overflow-y: scroll; 63 | } 64 | -------------------------------------------------------------------------------- /app/themes/class-central/functions.php: -------------------------------------------------------------------------------- 1 | 12 | */ 13 | function roots_root_relative_url($input) { 14 | preg_match('|https?://([^/]+)(/.*)|i', $input, $matches); 15 | 16 | if (!isset($matches[1]) || !isset($matches[2])) { 17 | return $input; 18 | } elseif (($matches[1] === $_SERVER['SERVER_NAME']) || $matches[1] === $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT']) { 19 | return wp_make_link_relative($input); 20 | } else { 21 | return $input; 22 | } 23 | } 24 | 25 | function roots_enable_root_relative_urls() { 26 | return !(is_admin() || in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'))) && current_theme_supports('root-relative-urls'); 27 | } 28 | 29 | if (roots_enable_root_relative_urls()) { 30 | $root_rel_filters = array( 31 | 'bloginfo_url', 32 | 'the_permalink', 33 | 'wp_list_pages', 34 | 'wp_list_categories', 35 | 'roots_wp_nav_menu_item', 36 | 'the_content_more_link', 37 | 'the_tags', 38 | 'get_pagenum_link', 39 | 'get_comment_link', 40 | 'month_link', 41 | 'day_link', 42 | 'year_link', 43 | 'tag_link', 44 | 'the_author_posts_link', 45 | 'script_loader_src', 46 | 'style_loader_src' 47 | ); 48 | 49 | add_filters($root_rel_filters, 'roots_root_relative_url'); 50 | } 51 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap_custom.less: -------------------------------------------------------------------------------- 1 | // Custom less 2 | @import "custom_variables.less"; 3 | @import "custom_mixins.less"; 4 | 5 | // Core variables and mixins 6 | @import "bootstrap/mixins.less"; 7 | 8 | // Reset 9 | @import "bootstrap/normalize.less"; 10 | @import "bootstrap/print.less"; 11 | 12 | // Core CSS 13 | @import "bootstrap/scaffolding.less"; 14 | @import "bootstrap/type.less"; 15 | @import "bootstrap/code.less"; 16 | @import "bootstrap/grid.less"; 17 | @import "bootstrap/tables.less"; 18 | @import "bootstrap/forms.less"; 19 | @import "bootstrap/buttons.less"; 20 | 21 | // Components 22 | @import "bootstrap/component-animations.less"; 23 | @import "bootstrap/glyphicons.less"; 24 | @import "bootstrap/dropdowns.less"; 25 | @import "bootstrap/button-groups.less"; 26 | @import "bootstrap/input-groups.less"; 27 | @import "bootstrap/navs.less"; 28 | @import "bootstrap/navbar.less"; 29 | @import "bootstrap/breadcrumbs.less"; 30 | @import "bootstrap/pagination.less"; 31 | @import "bootstrap/pager.less"; 32 | @import "bootstrap/labels.less"; 33 | @import "bootstrap/badges.less"; 34 | @import "bootstrap/jumbotron.less"; 35 | @import "bootstrap/thumbnails.less"; 36 | @import "bootstrap/alerts.less"; 37 | @import "bootstrap/progress-bars.less"; 38 | @import "bootstrap/media.less"; 39 | @import "bootstrap/list-group.less"; 40 | @import "bootstrap/panels.less"; 41 | @import "bootstrap/wells.less"; 42 | @import "bootstrap/close.less"; 43 | 44 | // Components w/ JavaScript 45 | @import "bootstrap/modals.less"; 46 | @import "bootstrap/tooltip.less"; 47 | @import "bootstrap/popovers.less"; 48 | @import "bootstrap/carousel.less"; 49 | 50 | // Utility classes 51 | @import "bootstrap/utilities.less"; 52 | @import "bootstrap/responsive-utilities.less"; 53 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/alerts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: @alert-padding; 11 | margin-bottom: @line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: @alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing @headings-color 19 | color: inherit; 20 | } 21 | // Provide class for links that match alerts 22 | .alert-link { 23 | font-weight: @alert-link-font-weight; 24 | } 25 | 26 | // Improve alignment and spacing of inner content 27 | > p, 28 | > ul { 29 | margin-bottom: 0; 30 | } 31 | > p + p { 32 | margin-top: 5px; 33 | } 34 | } 35 | 36 | // Dismissable alerts 37 | // 38 | // Expand the right padding and account for the close button's positioning. 39 | 40 | .alert-dismissable { 41 | padding-right: (@alert-padding + 20); 42 | 43 | // Adjust close link position 44 | .close { 45 | position: relative; 46 | top: -2px; 47 | right: -21px; 48 | color: inherit; 49 | } 50 | } 51 | 52 | // Alternate styles 53 | // 54 | // Generate contextual modifier classes for colorizing the alert. 55 | 56 | .alert-success { 57 | .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text); 58 | } 59 | .alert-info { 60 | .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text); 61 | } 62 | .alert-warning { 63 | .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text); 64 | } 65 | .alert-danger { 66 | .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); 67 | } 68 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # .gitignore file meant for use with WP + composer 2 | 3 | # EXCEPTIONS - custom plugins part of the site 4 | # Syntax example: 5 | # !/app/plugins/codelight-plugin 6 | 7 | # 8 | # Wordpress 9 | # 10 | 11 | wp-content/backup-db 12 | wp-content/backups 13 | wp-content/blogs.dir 14 | wp-content/cache 15 | wp-content/languages 16 | wp-content/upgrade 17 | 18 | /app/backup-db 19 | /app/backups 20 | /app/blogs.dir 21 | /app/cache 22 | /app/ewww 23 | /app/languages 24 | /app/upgrade 25 | 26 | /app/plugins 27 | /app/uploads 28 | /vendor 29 | /wordpress 30 | /wp 31 | 32 | # 33 | # Wordpress cache 34 | # 35 | wp-content/advanced-cache.php 36 | wp-content/wp-cache-config.php 37 | wp-content/db.php 38 | wp-content/object-cache.php 39 | wp-content/w3tc-config 40 | 41 | /app/advanced-cache.php 42 | /app/wp-cache-config.php 43 | /app/db.php 44 | /app/object-cache.php 45 | /app/w3tc-config/ 46 | 47 | # 48 | # Misc 49 | # 50 | .DS_Store 51 | Thumbs.db 52 | .cache 53 | .project 54 | .settings 55 | .tmproj 56 | *.esproj 57 | nbproject 58 | *.sublime-project 59 | *.sublime-workspace 60 | *~ 61 | *.lock 62 | !composer.lock 63 | *.swp 64 | *.out 65 | .idea/ 66 | .hg 67 | .svn 68 | .CVS 69 | intermediate 70 | cache 71 | *.orig 72 | node_modules 73 | *.diff 74 | *.err 75 | *.rej 76 | *.swo 77 | *.swp 78 | *.vi 79 | *~ 80 | *.sass-cache 81 | cgi-bin/ 82 | /.htaccess 83 | 84 | # Sitemap 85 | sitemap.xml 86 | sitemap.xml.gz 87 | 88 | # Composer 89 | composer.phar 90 | 91 | #Logs 92 | log 93 | *.log 94 | error_log 95 | 96 | # Packages 97 | app/_ide_helpers.php 98 | 99 | # Packages 100 | app/_ide_helpers.php -------------------------------------------------------------------------------- /app/themes/class-central/assets/js/plugins/bootstrap/transition.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: transition.js v3.1.1 3 | * http://getbootstrap.com/javascript/#transitions 4 | * ======================================================================== 5 | * Copyright 2011-2014 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) 14 | // ============================================================ 15 | 16 | function transitionEnd() { 17 | var el = document.createElement('bootstrap') 18 | 19 | var transEndEventNames = { 20 | 'WebkitTransition' : 'webkitTransitionEnd', 21 | 'MozTransition' : 'transitionend', 22 | 'OTransition' : 'oTransitionEnd otransitionend', 23 | 'transition' : 'transitionend' 24 | } 25 | 26 | for (var name in transEndEventNames) { 27 | if (el.style[name] !== undefined) { 28 | return { end: transEndEventNames[name] } 29 | } 30 | } 31 | 32 | return false // explicit for ie8 ( ._.) 33 | } 34 | 35 | // http://blog.alexmaccaw.com/css-transitions 36 | $.fn.emulateTransitionEnd = function (duration) { 37 | var called = false, $el = this 38 | $(this).one($.support.transition.end, function () { called = true }) 39 | var callback = function () { if (!called) $($el).trigger($.support.transition.end) } 40 | setTimeout(callback, duration) 41 | return this 42 | } 43 | 44 | $(function () { 45 | $.support.transition = transitionEnd() 46 | }) 47 | 48 | }(jQuery); 49 | -------------------------------------------------------------------------------- /app/themes/class-central/assets/less/bootstrap/grid.less: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | .container-fixed(); 12 | 13 | @media (min-width: @screen-sm-min) { 14 | width: @container-sm; 15 | } 16 | @media (min-width: @screen-md-min) { 17 | width: @container-md; 18 | } 19 | @media (min-width: @screen-lg-min) { 20 | width: @container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | .container-fixed(); 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | .make-row(); 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | .make-grid-columns(); 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | .make-grid(xs); 57 | 58 | 59 | // Small grid 60 | // 61 | // Columns, offsets, pushes, and pulls for the small device range, from phones 62 | // to tablets. 63 | 64 | @media (min-width: @screen-sm-min) { 65 | .make-grid(sm); 66 | } 67 | 68 | 69 | // Medium grid 70 | // 71 | // Columns, offsets, pushes, and pulls for the desktop device range. 72 | 73 | @media (min-width: @screen-md-min) { 74 | .make-grid(md); 75 | } 76 | 77 | 78 | // Large grid 79 | // 80 | // Columns, offsets, pushes, and pulls for the large desktop device range. 81 | 82 | @media (min-width: @screen-lg-min) { 83 | .make-grid(lg); 84 | } 85 | -------------------------------------------------------------------------------- /app/themes/class-central/lib/comments.php: -------------------------------------------------------------------------------- 1 | 10 |