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
2
votes
1 answer

Cannot get my docker-compose file to work with roots' bedrock

Cheers people ‍♂️ I'm currently working on a wordpress site for a friend. Since I set myself the goal, to only work with docker locally, I tried to dockerize my setup. The setup is based on roots' bedrock & sage systems. Since there already is a…
2
votes
0 answers

Sage Woocommerce - Trying to get property of non-object (get_current_screen()->id)

I'm not quite sure about when this exactly occurs since it only happens on the live server and not locally. But every now and then (few times per minute) i get a PHP notice in my debug.log. The PHP notice is: Trying to get property of non-object in…
jandje
  • 21
  • 3
2
votes
0 answers

BrowserSync only works sometimes

Content I develop websites with the Roots stack which utilizes Gulp + BrowserSync. When I execute gulp watch, initially, it opens up my browser to https://localhost:300X and I see the site I'm working on - as expected. The Goal When I save CSS…
Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
2
votes
1 answer

How to get new release path in Capistrano 3?

Trying to use Capistrano 3 to deploy a project and have run into an issue. In one of my tasks I'm trying to change directories and then run composer install. For the life of me I can't get it to cd into the proper folder. Right now if I do set…
Octoxan
  • 1,949
  • 2
  • 17
  • 34
1
vote
1 answer

Tailwind 3 width calc issues with `theme(width.1/3)`

I'm trying to use the following code: @apply w-[calc(theme(width.1/3)_-_1rem)] which according to the docs, should work. But every time I try and compile the code I get the following error: Syntax Error: SyntaxError 'width.1 / 3' does…
Andy Holmes
  • 7,817
  • 10
  • 50
  • 83
1
vote
0 answers

CSS file paths are rendering as [Object object] when using webpack

In my fonts.scss source file (same result if this is a pure CSS import) @font-face { font-family: "SocialIcons"; src: url("../fonts/social-icons.woff") format("woff"); font-weight: normal; font-style: normal; font-display: block; } After…
codewithfeeling
  • 6,236
  • 6
  • 41
  • 53
1
vote
1 answer

Import fonts in Sage 9.0.10 - WordPress

Since upgrading to Sage 9.0.10, I can't import my fonts. All my fonts (.woff & woff2) are in assets>fonts, in main.scss @import "base/fonts" and in fonts.scss I have this: @font-face { font-family: "Font"; src: url("/../fonts/Font-name.woff2")…
user5829737
1
vote
1 answer

Yarn error during installation of roots-sage "No files matching the pattern"

I've created a completely new wordpress project by getting the latest wordpress version and then creating a theme with Roots-sage. This is the documentation I followed: https://roots.io/docs/sage/9.x/installation/ and after the installation steps, I…
Loko
  • 6,539
  • 14
  • 50
  • 78
1
vote
1 answer

Trying to get access to admin-ajax.php but failing

I’m having some trouble getting access to admin-ajax.php via admin_url and I get 400 Bad Request every time. Have looked at some posts in this forum but still can’t get why it’s not working. My setup.php looks like…
Triphys
  • 53
  • 9
1
vote
1 answer

SCSS Undefined variable: "$general-grey" but the variable is actually defined and different

I'm pretty new to this and I was tasked to update the Roots Sage Theme we use for our website to the latest version. Now, the conversion process isn't hard itself, however, when importing the header into the new theme folder and compiling with yarn…
1
vote
1 answer

Fresh install of Trellis by Roots on Mac & VituralBox is missing composer.json under /srv/www/example.com/current

This is the error message I got when I first run vagrant up under the trellis directory: TASK [wordpress-install : Install Dependencies with Composer] ****************** System info: Ansible 2.9.0; Vagrant 2.2.6; Darwin Trellis…
Leo Tse
  • 39
  • 1
  • 5
1
vote
1 answer

How to remove "Archives" from the meta title of CPT archive page in sage? Roots.io

I am using wordpress with sage theme and would like delete the term “Archives:” from the meta title of CPT archive page.
Neil
  • 11
  • 2
1
vote
1 answer

Browsersync no server using Roots Sage

I'm trying to develop a Wordpress Theme with Wordpress and Roots Sage. In my Theme folder i installed sage with composer create-project roots/sage my-theme After i entered all configuration I tried to start the development build with yarn start…
polyte
  • 449
  • 2
  • 13
1
vote
1 answer

Strange Permalink Issue

I've been dealing with a really strange Permalink Issue on my WordPress site which runs Sage 8.5.1, previously setup by another developer. Yesterday, I made a new homepage live on my site within Settings > Reading, and after doing this the…
1
vote
1 answer

gulp watch issue in sage 8.5.1

I'm currently working on a site that is using Sage 8.5.1. I've done all of the following: Install gulp and Bower globally with npm install -g gulp bower Navigate to the theme directory and run npm install Run bower install But when I run gulp…
wordpressdev_meg
  • 133
  • 2
  • 13