Code Food Travel repeat!

ROOTS Bootstrap WordPress Theme Giving Errors (manifest.json missing)

If you just newly installed Roots Bootstrap Theme for WordPress and just uploaded it to your server and activated the theme and are seeing confusing errors that read like this:

Warning: file_get_contents(/var/www/ failed to open stream: No such file or directory in /var/www/ on line 23

It’s because you need to run

grunt build

in Terminal (in your theme’s directory) to produce the files necessary for non-development environments (aka that manifest.json file that is missing). Voila!

Custom Font not loading / working in Tumblr

I pulled my hair out for hours with this. no matter what i tried it wouldn’t load, until:

SOLUTION to Tumblr font nightmare:

3. The website is published but I don’t have access to the server (ie. Tumblr etc.)

This is where it gets tricky and took the most time (and really the reason I am writing this guide)

Ok what we are going to do is base64 encode your font file as a .woff, embed (for Chrome + Firefox) and then add some IE legacy.

Firstly you need to grab your font file and head to The FontSquirrel @fontface kit generator.

Add your font, and hit the “Expert” radio button

Keep all options as normal but under CSS: hit the Base64 Encode checkbox

Agree to the terms and hit download.

You should be presented with a zip file, the only two files you need are the CSS file (in my case and if you didn’t change the options stylesheet.css) and the EOT file.

Open up your CSS file and check out the lines, you should be presented with something like

@font-face {
font-family: ‘fontnameregular’;
src: url(‘fontname-webfont-webfont.eot’);

@font-face {
font-family: ‘fontnameregular’;
src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAxYABEAAAAAIpQAAQAAAAAAA[truncated]) format(‘woff’),
url(‘fontname-webfont-webfont.ttf’) format(‘truetype’);
font-weight: normal;
font-style: normal;
You can chuck this into your code but it won’t work, this is where I got frustrated, first thing you need to do is change your base64 encode string

In the example above it starts with


Change this to


Then (if you like, personally I did) take out the comma at the end of that line and get rid of

url(‘fontname-webfont-webfont.ttf’) format(‘truetype’);
As I found you don’t need it, if anyone thinks im wrong please send me a message and ill update the guide.

Now copy and paste the code into your CSS file, copy your EOT file somewhere safe to link to, update the URL and you should be good to go!

Original source for solution:

And if you ever wondered how to UPLOAD A FILE TO TUMBLR TO HOST:


Upload a static file
Use this to host small files required for custom themes (images, css, javascript). Once uploaded, files cannot be deleted or changed.

Uploading anything other than theme assets will result in an immediate banning of your account.

How to Enable Download for Google+ Album photos

Strangely, the control to enable visitors to download Google+ photos is hidden in PICASAWEB settings. Wtf.

Go here: Under “Allow any visitor to:” check the box for “Download my photos”, then click save.

Your visitors after refreshing the album you sent them should be able to download now!

Ps. If you want to change your album cover, I found that the easiest way to do this is also through . Click into the photo you want to set. Then go to Actions > set as album cover.

3 of 27
%d bloggers like this: