Questions tagged [roots-sage]

Wordpress starter theme using HTML5 boilerplate

Sage is an open source Starter Theme for WordPress. Authored by https://roots.io. It was designed specifically to require programmers to follow best practices and respect standards while utilizing, and learning how to use, modern tools that result in optimally secure, stable and fast WordPress Themes.

101 questions
0
votes
1 answer

Outputting A Custom Blade Partial from Sober Controller

So, for my template, I'm creating a block of code that runs custom "Modules". Basically, they are a custom post type, with fields built in ACF. Each of these modules has their own Blade template (e.g.…
wUmpage
  • 165
  • 2
  • 17
0
votes
1 answer

Sage theme build error: Invalid UTF-8 at runLoaders

I was building a theme with sage and copy the folder to another location. After that when I try to build the project I get this error: Module build failed: ModuleBuildError: Module build failed: Invalid UTF-8 at runLoaders…
0
votes
1 answer

Why would VirtualBox open when executing `vagrant up` instead of remaining headless?

I build WordPress websites with Roots which creates a VirtualBox and configures it with Vagrant. One of the sites, when I execute vagrant up causes VirtualBox (Mac) to open and remain open. While all other projects do not. Before I sift through the…
Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
0
votes
1 answer

How do you deploy (using Roots Trellis) to a domain that has CloudFlare proxying it?

I built a site using Roots' Trellis that now uses CloudFlare, thus proxying traffic. Which, understandably, prevents Trellis from deploying via MyExample.com. I’m aware I can connect via IP or an un-proxied CName (Ex. ssh.MyExample.com). But I am…
Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
0
votes
1 answer

Trouble adding a vendor to Laravel Blade

I'm building a website with a WordPress ecosystem called Roots (Trellis + Bedrock + Sage). The new version of the Theme (Sage 9) uses Laravel 5.6 and Blade. I've completed half of the beginners course in Laracasts and I think I understand their use…
Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
0
votes
1 answer

Add libraries from npm in root sage 8.5.3

Adding libraries from npm in root sage 8.5.3, I got error in console with required not found. var GoogleMapsLoader = require('google-maps'); GoogleMapsLoader.load(function(google) { new google.maps.Map(el, options); …
0
votes
2 answers

Wordpress roots/sage installation options not working

I have install sage on my wordpress, but there no choice for selecting options that sage docs says During theme installation you will have the options to: Update theme headers (theme name, description, author, etc.) Select a CSS framework…
Engkus Kusnadi
  • 2,386
  • 2
  • 18
  • 40
0
votes
0 answers

Wordpress theme custom single view page [Sage roots]

So my wordpress theme is based on Sage theme by roots, I wanted to create a custom page (different header, footer etc..) from the current theme. (So the basic idea behind this is to create a simple page which will act as a knowledge base page for…
Mahi008
  • 373
  • 2
  • 3
  • 22
0
votes
1 answer

Gulp - optipng throws error

Running gulp to build my project. Throws error: [14:35:01] Starting 'images'... events.js:183 throw er; // Unhandled 'error' event ^ Error: spawn X\node_modules\optipng-bin\vendor\optipng.exe ENOENT at _errnoException…
TimothyAURA
  • 1,329
  • 5
  • 21
  • 44
0
votes
1 answer

Custom Taxonomy Template won't show any menus

This is how I can start describing this, it's a very strange error that maybe something else but this is the first symptom I have. I have a custom template[taxonomy-location_types.php] that shows, a custom post type [locations] by it's custom…
0
votes
1 answer

Where do I put Settings API code for my Wordpress Theme

I am trying to set up a settings page for my wordpress theme (developed it in roots.io using Trellis and Sage etc). I have found a lot of really good documentation on how to use the settings API, for…
vrghost
  • 1,084
  • 2
  • 19
  • 42
0
votes
1 answer

roots.io/sage add bower package

So I am trying desperately to figure out how to add and control packages in roots.io/sage. The environment is up and running (trellis and all), and my theme loads perfectly. I decided that I wanted to update bootstrap to alpha6 and to newest jquery.…
vrghost
  • 1,084
  • 2
  • 19
  • 42
0
votes
0 answers

Setting up SASS, Compass and Sage (Wordpress) on PC to Work Remotely

I went through the basic installation of a test sass file and was able to make changes and Compass compiled the CSS. I initially started with Bones, but am now switching to Sage. For starting with Sage, I do not know how to tell Compass to watch the…
0
votes
1 answer

Adding new dependency in bower on sage wordpress theme

I am trying to add new bower components in sage wp theme, only problem is that i can only add in manyaly in sass? This is my bower.json { "name": "sage", "homepage": "https://roots.io/sage/", "authors": [ "Ben Word " …
Miomir Dancevic
  • 6,726
  • 15
  • 74
  • 142
0
votes
2 answers

Cannot link third-party library to a js script in Sage theme WordPress

I have installed a third-party library called Moment.js through bower install --save moment. I have a script named calendar.js placed in scripts folder of my theme. However, when I use moment in my calendar.js it seems the library isn't linked to…
fatg
  • 519
  • 7
  • 23