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
core: | |
download: | |
version: 4.9.* | |
locale: en_US | |
plugins: | |
gutenberg: | |
version: 2.2.0 | |
wp-super-cache: | |
version: '*' | |
themes: |
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
# START WP-CLI BUILD BLOCK | |
# ------------------------------------------------------------ | |
# This block is generated everytime you run 'wp build generate' | |
# Rules: Exclude everything from git except for your custom plugins/themes | |
# ------------------------------------------------------------ | |
/* | |
!.gitignore | |
!build.yml | |
!wp-content | |
wp-content/* |
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
<h2>3 kolonner</h2> | |
<div class="l-row grid-three"> | |
<div class="grid-item">Col 1</div> | |
<div class="grid-item">Col 2</div> | |
<div class="grid-item">Col 3</div> | |
</div> | |
<h2>2 kolonner</h2> |
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
- Install latest version of Vagrant + VirtualBox | |
- Download https://github.com/Varying-Vagrant-Vagrants/VVV and unzip VVV-folder | |
- cd into VVV/ and run: | |
- $ vagrant plugin install vagrant-hostsupdater | |
- $ vagrant box add ubuntu/trusty64 contributor.box | |
- $ vagrant up | |
- Wait for it | |
- Visit one of the local URLs here https://github.com/Varying-Vagrant-Vagrants/VVV |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<schema name="newsfront" version="1.3"> | |
<types> | |
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/> | |
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/> | |
<fieldtype name="binary" class="solr.BinaryField"/> | |
<fieldType name="integer" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/> | |
<fieldType name="float" class="solr.TrieFloatField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/> |
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
## Head | |
<script type='text/javascript'> | |
var googletag = googletag || {}; | |
googletag.cmd = googletag.cmd || []; | |
(function() { | |
var gads = document.createElement('script'); | |
gads.async = true; | |
gads.type = 'text/javascript'; | |
var useSSL = 'https:' == document.location.protocol; |
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
# LOCALLY | |
$ git fetch | |
$ git checkout development | |
$ git pull origin development | |
$ git flow release start W1.5.2 |
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
{ | |
"grids": [ | |
{ | |
"layout": "8-4double", | |
"items": [ | |
{ | |
"type": "article", | |
"title": "<strong>HP ut mot Microsoft:</strong> – Vi er konkurrenter!", | |
"teaser": "Hvem eier overleppa med it-bransjens aller beste hårpryd? Se bildene!", | |
"path": "artikler/demo", |
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
# pesh stuff | |
alias a="open -a Atom" | |
alias vhost="open -a Atom /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf /etc/hosts" | |
alias zsh="open -a Atom ~/.zshrc" | |
alias log="open -a Atom ~/Sites/log" | |
alias c="bundle exec compass watch" | |
# alias clone="echo 'git clone git@github.com:front/'| pbcopy" | |
## NF settings | |
alias nfa='cd ~/Sites/front/newsfront-drupal/sites/all && open ~/Sites/front/newsfront-drupal/sites/all' |
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
<!-- Begin MailChimp Signup Form --> | |
<div id="mc_embed_signup"> | |
<form action="http://arbeidoghelse.us2.list-manage.com/subscribe/post?u=f22925cc24e9487c57dde4afa&id=693d9a0faa" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank"> | |
<div class="mc-field-group"> | |
<label for="mce-EMAIL">E-post <span class="asterisk">*</span> | |
</label> | |
<input type="email" value="" name="EMAIL" class="form-text required email" id="mce-EMAIL"> | |
</div> | |
<div class="mc-field-group"> | |
<label for="mce-FNAME">Fornamn </label> |
NewerOlder