Skip to content

Instantly share code, notes, and snippets.

Björn Folbert folbert

Block or report user

Report or block folbert

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
folbert /
Last active Dec 21, 2019
How to get up and running with Bedrock and Bedrock Capistrano at Oderland

Getting up and running with Bedrock

If you get totally stuck, here are some resources that may help you: Roots Discourse. Actually, you may want to head over and read this through really quick. It's nowhere near as long as this and may be good to have in the back of your mind when reading the rest of this document. Capistrano Website with manual Screencast on deploying WordPress with Capistrano.


Bedrock is created by the good awesome people behind Sage and is described as a "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure." Read more at

folbert / _display-bootstrap-size.scss
Last active Feb 20, 2019
Display current Bootstrap v4 size on screen
View _display-bootstrap-size.scss
Inspired by
body:after {
color: #000;
font-family: Helvetica;
font-size: 12px;
padding: 5px;
font-weight: bold;
folbert / Bootstrap overrides for Sage 8.5.1 and Bootstrap 4 alpha 6
Last active Apr 24, 2019
Add this to bower.json and remove what you don't need
View Bootstrap overrides for Sage 8.5.1 and Bootstrap 4 alpha 6
"overrides": {
"bootstrap": {
"main": [
folbert / togglable-acf-description.php
Created Feb 23, 2017
Toggleable description for Advanced Custom Fields
View togglable-acf-description.php
* Hide ACF descriptions that have more characters than you deem feasible to display directly.
* Change the fewbricksToggleableDescriptionMinCharLength variable to 0 if you want all descriptions
* to be hidden.
* At its most simple, place this code in functions.php. But you should really try to use some namespacing
* or OOP approach to it instead.
View deploy.rb
# deploy.rb from modified by Björn Folbert,
# Folbert-comment: from Capistrano doc:
# Here we'd set the name of the application, must be in a format that's safe for
# filenames on your target operating system.
set :application, 'APPLICATIONNAME'
# Folbert-comment: use the SSH url for the repo from GitHub
set :repo_url, ''
You can’t perform that action at this time.