Sorry SharePoint. I built a fully armed and operational corporate Intranet with WordPress.
- Intro (who am I? who's BFCO?)
- What's an Intranet?
<?php | |
/** | |
* Add vcard to upload-safe files | |
*/ | |
add_filter('upload_mimes', 'custom_upload_mimes'); | |
function custom_upload_mimes ( $existing_mimes=array() ) { | |
$existing_mimes['vcard'] = 'text/vcard'; | |
$existing_mimes['vcf'] = 'text/vcard'; | |
return $existing_mimes; | |
} |
<?php | |
/** | |
* @link | |
* @since 1.0.0 | |
* @package TODO | |
* | |
* @wordpress-plugin | |
* Plugin Name: Use MailHog | |
* Description: Configure WordPress on Valet to use MailHog | |
* Version: 1.0.0 |
var gulp = require('gulp'); | |
var debug = require('gulp-debug'); | |
var gutil = require('gulp-util'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var uglify = require('gulp-uglify'); | |
var sass = require('gulp-sass'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var prefix = require('gulp-autoprefixer'); | |
var filter = require('gulp-filter'); |
{ | |
"always_show_minimap_viewport": true, | |
"auto_complete": false, | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 1, | |
"caret_extra_top": 1, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Theme - Otto/schemes/Otto Oceanic.tmTheme", |
<a href=\"(.*?)\"> |
function change_editor_font(){ | |
echo "<style type='text/css'> | |
#wp-content-editor-container textarea#content { | |
font-family: \"Meslo LG M DZ\", Consolas, monospace; | |
font-weight: normal; | |
font-size: 13px; | |
line-height: 1.5em; | |
color: #fab00d; | |
background-color: #222; | |
} |