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
5
votes
2 answers

How to match row value as variable for parameter in sibling results?

I have 2 db calls that run a loop to get all results. First I'm getting the results relative to current year. Second I'm getting results relative to previous year (-1). How can align the month in the output of second loop to same month from the…
canacast
  • 231
  • 8
  • 23
4
votes
0 answers

Import FullPage.js in Sage 9

I am trying to import Fullpage.js in my Sage theme. I installed FullPageScroll with: npm install fullpage.js added the following code: scripts/main.js: // import external dependencies import 'jquery'; import…
dva
  • 41
  • 1
4
votes
0 answers

Materialize Module Build Failed: Invalid CSS / Expected Selector

I'm using Sage framework to build a WordPress site and would like to use a custom CSS framework, which is Materialize CSS. Sage uses Webpack to build the CSS. Upon building, I get the following error message: WAIT Compiling... …
Kenny
  • 2,124
  • 3
  • 33
  • 63
4
votes
0 answers

Roots/Sage theme - PHP Fatal error: Uncaught Error: Class 'Illuminate\Support\Collection' not found

I am using Trellis, Bedrock and sage theme from roots.io for a modern performance on WP. Everything works fine until I activate the sage theme (which I downloaded from composer [see: github.com/roots/sage]). So, when this theme is activated, it…
3
votes
1 answer

Roots Sage 10: getting error: "Error occurred while trying to proxy: localhost:3000/"

Has anyone been able to make Roots Sage 10 work on Windows? The following builds on this thread on Sage forum. I'm using Local WP with my website accessible through http://my-site.local/. WSL terminal. I'm getting this error when visiting…
drake035
  • 3,955
  • 41
  • 119
  • 229
3
votes
2 answers

Roots Sage - Bud build doesn't load custom fonts, and shows resolve-url-loader warning

I built a project on the latest Roots/Sage 10. I didn't modify the bud.config.js and kept it as I cloned from the sage master branch. Now I am trying to add a custom font by adding this to the app.css: @font-face { font-family: "iconfont"; src:…
purplefeel
  • 193
  • 2
  • 16
3
votes
2 answers

WordPress Sage 9 - get dist url?

I'm trying to make the move to Sage 9 as a starter template, however when I try use get_template_directory_uri() I get a return from within the /resources directory. Unfortunately the assets I want are in the dist folder, a sibling of resources (as…
Drew
  • 83
  • 1
  • 5
3
votes
1 answer

Running Yarn in a Trellis + Bedrock + Sage + Vagrant environment

Learning how to use Vagrant environments! I'm trying to run Yarn in a Trellis + Bedrock + Sage + Vagrant environment and I keep getting the following error when I run yarn run start. Couldn't find the binary webpack --hide-modules --watch --config…
sleepy_daze
  • 521
  • 2
  • 7
  • 24
3
votes
1 answer

Making sure vendor JS is called before custom JS (WordPress Sage)

I can't find how to make vendor scripts load before my own scripts. In manifest.json I tried: "dependencies": { "main.js": { "files": [ "scripts/vendor_script.js", "scripts/custom_script.js" ], "main": true }, Doesn't…
drake035
  • 3,955
  • 41
  • 119
  • 229
3
votes
1 answer

NextGEN Gallery conflict with Roots Sage Theme

I'm experiencing an issue with NextGEN where I'm unable to open 'Gallery Settings' or 'Other options' in the Wordpress dashboard. Many posts are saying to reset NGG settings, but I can't get into those areas. I'm also seeing that requests for…
DeFeNdog
  • 1,156
  • 1
  • 12
  • 25
2
votes
3 answers

No files matching the pattern .s?(c|a)ss" were found on Sage

When I try to run Sage 9.0.10 in my Wordpress 5.5.3 theme and install Yarn and then do "yarn build" or "yarn start" I get this error: PS C:\xampp\htdocs\patrick.visiegroep\wp-content\themes\visiegroep> yarn build yarn run v1.22.5 $ webpack…
Pat
  • 21
  • 1
  • 5
2
votes
1 answer

How to solve PHP ACF error: "Trying to access array offset on value of type bool"?

I've been working on developing my own theme and had to make a few custom blocks with ACF using my Laravel Sage environment. My objective is to retrieve a list of text from a repeater object. (which successfully works, but the error is still…
zadders
  • 428
  • 1
  • 8
  • 30
2
votes
0 answers

Custom post type returns 404 when optional taxonomy is not included

I'm attempting to create a wordpress custom post type (faq) and taxonomy (faq-category) with the following url structure: /faqs/%faq-category%/%postname% I want /faqs to be an archive page for all faq posts and /faqs/%faq-category% to be an archive…
2
votes
1 answer

How can i configure local by flywheel v5.0.7 site.config.hbs file for roots bedrock

I am a windows 10 user i have installed local by flywheel v5.0.7 & i want to configure roots bedrock into the app folder. now how can i change the default configure (nginx > site.conf.hbs) public folder to bedrock/web folder enter image description…
2
votes
0 answers

WP Sage - Browsersync proxyUrl not working

Just wondering if anyone can help me on an issue I’ve been having with Browsersync issues with the Sage theme for Wordpress. In terms of my environment, I’m using Laravel Valet, which is parked in a projects directory on my machine. The site in…
Joe
  • 33
  • 3
1
2 3 4 5 6 7