Articles of theme roots

Why do the Roots theme CSS files not load (404)?

I’ve set up my new shiny 3.5.1 WordPress using Git, following these instructions: http://clintberry.com/2011/speed-up-your-wordpress-development-cycle-with-git/ (stopping after step 2; I’ve not created the child theme yet). I would expect the Roots theme to work by itself) What I basically have is the same as the author’s Git project: https://github.com/clintberry/WordPress What I’ve ended up with is tags […]

wp_enqueue_style will not let me enforce screen only

I am using Roots as the starter for a theme I have been working on. I then generated a print.css file, but in Chrome’s case, it still is using the bootstrap-responsive.css queries, and messing things up. This answer on SO explains the issue, and I know it fixes what I am having an issue with […]

get_stylesheet_uri returns wrong path

I am using the roots theme. Inside scripts.php, the stylesheets are loaded using the wp_enqueue_style-function. wp_enqueue_style(‘roots_bootstrap’, get_template_directory_uri() . ‘/assets/css/bootstrap.css’, false, null); wp_enqueue_style(‘roots_bootstrap_responsive’, get_template_directory_uri() . ‘/assets/css/bootstrap-responsive.css’, array(‘roots_bootstrap’), null); wp_enqueue_style(‘roots_app’, get_template_directory_uri() . ‘/assets/css/app.css’, false, null); I tried to add my own stylesheet (style.css, it can be found directly inside the template folder) the same way: wp_enqueue_style(‘fsc’, get_stylesheet_uri(), […]

roots child theme can't override header.php

I made a child theme for roots and it worked as expected. I can override everything, including footer.php, but not header.php. My header.php looks exactly like the one from roots at the moment, except for the blog title, which I replaced. I googled it, but it seems that I’m the only one facing this problem.

Failure to establish connection when provisioning via ansible-playbook server.yml

I’m using Root.io‘s Trellis workflow. I’ve encountered an error wherein I couldn’t establish a connection via ansible-playbook. When I run ansible-playbook server.yml -e env=staging it throws me an error that the ssh connection cannot be established so I checked my users.yml file and saw a problem under the keys section: – name: “{{ admin_user }}” […]

What to do when theme and WordPress coding standards conflict?

I am considering different starter themes such as _s and roots. Roots looks very good, especially its sass fork. Anyway, there’s one thing that concerns me. It seems like Roots doesn’t follow the WordPress coding standards of themes and plugins. What standard do I then follow if I want to use Roots as a starter […]