- Keep your system up to date:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo reboot
- Make sure you've got an internet connection.
- Make sure you've got
- wget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------------------ | |
# | Compression | | |
# ------------------------------------------------------------------------------ | |
<IfModule mod_deflate.c> | |
# Force compression for mangled headers. | |
# http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping | |
<IfModule mod_setenvif.c> | |
<IfModule mod_headers.c> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: WPAZ | |
*/ | |
/** | |
* @internal never define functions inside callbacks. | |
* these functions could be run multiple times; this would result in a fatal error. | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Roots\Sage\Setup; | |
use Roots\Sage\Assets; | |
/** | |
* Theme setup | |
*/ | |
function setup() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Glyphicons font path | |
$icon-font-path: "../fonts/"; | |
// Grid settings | |
$main-sm-columns: 12; | |
$sidebar-sm-columns: 4; | |
// Pallete | |
$palette: bluegrey; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$palette: orangecyan; | |
@if $palette == bluegrey { | |
//* https://www.materialpalette.com/blue/grey | |
$primary-color-dark: #1976D2; | |
$primary-color: #2196F3; | |
$primary-color-light: #BBDEFB; | |
$primary-color-text: #FFFFFF; | |
$accent-color: #9E9E9E; | |
$primary-text-color: #212121; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.navbar-brand { | |
padding: 0px; | |
} | |
.navbar-brand>img { | |
height: 100%; | |
padding: 15px; | |
width: auto; | |
} | |
.bootstrap-navbar .navbar-brand { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Sage includes | |
* | |
* The $sage_includes array determines the code library included in your theme. | |
* Add or remove files to the array as needed. Supports child theme overrides. | |
* | |
* Please note that missing files will produce a fatal error. | |
* | |
* @link https://github.com/roots/sage/pull/1042 |