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

Why put DB passwords in both files for Trellis/Bedrock?

I'm using Roots.io's Trellis/Bedrock/Sage. In the trellis/group_vars/development/vault.yml there is an entry for vault_mysql_root_password and env: db_password: but then within the site/.env file there is an entry for a MySQL DB password. I'm…
ProEvilz
  • 5,310
  • 9
  • 44
  • 74
0
votes
2 answers

InvalidValueError: initMap is not a function?

I was never able to resolve this issue with any of the provided answers. Why is this still down voted? I'm using the Sage theme from Roots.io I have enqueued the Google Maps API like so: function assets() { wp_enqueue_style('sage/css',…
ProEvilz
  • 5,310
  • 9
  • 44
  • 74
0
votes
1 answer

WP enqueue Google Maps API syntax error

I'm using the theme Sage from Roots. /** * Theme assets */ function assets() { wp_enqueue_style('sage/css', Assets\asset_path('styles/main.css'), false, null); if (is_single() && comments_open() && get_option('thread_comments')) { …
ProEvilz
  • 5,310
  • 9
  • 44
  • 74
0
votes
1 answer

Steps to add Materialize bower package to Sage theme?

I'm trying to add Materialize to this modified sage wordpress theme it is sage with bootstrap removed along with stylus and lostgrid added. [That link is repo without materialize that I'm attempting to add Materialize to.] I've added these changes…
Shwaydogg
  • 2,499
  • 27
  • 28
0
votes
1 answer

Use the Brain/Cortex router with Bedrock/Sage9

I'm stuck getting the Cortex router to work with the Sage9 WordPress theme. The template inheritance seems to be broken because of the template_include filter. Cortex removes all template_include filters which does not allow Sage to use it's…
geschwe1
  • 323
  • 3
  • 14
0
votes
1 answer

Error: File to import not found or unreadable (Gulp, using WordPress Sage)

gulp watch randomly crashes when doing minor CSS changes. The very same change will work one time (browser reloads and change shows up) but the next time (after undo and redo in text editor then save) gulp watch may inexplicably crash with the…
drake035
  • 3,955
  • 41
  • 119
  • 229
0
votes
1 answer

What's the difference between these two domains?

I'm currently learning about Roots.io's Trellis. In their config they have a file called 'wordpress_sites.yml' as you can see here. After reading the Docs, I'm still confused as to what the difference is between these: wordpress_sites: …
ProEvilz
  • 5,310
  • 9
  • 44
  • 74
0
votes
1 answer

Hide sidebar on Tribe Events Calendar with Roots/Sage Wordpress template

I need to hide the sidebar from the Tribe Events calendar pages using a Roots/Sage Wordpress template. I can achieve this using: 'tribe_is_upcoming' in the display_sidebar function, but this also removes it from the Blog pages. Any ideas how I can…
Pedro
  • 1,148
  • 4
  • 16
  • 35
-1
votes
3 answers

Using special characters in WordPress menu items

I'm trying to use the special character "&" in my wordpress menu items. For example having a menu item called "Call & Contact". The issue is the "&" get sign gets converted to "&". I'm not sure if this is a WordPress specific issue or it's my theme…
-1
votes
2 answers

Woocommerce cutting only number 7

I'm currently using the latest wordpress version with the latest woocommerce version. I have setup my wordpress and woocommerce and everything is working fine except for one thing. The number '7' doesn't show in the price tag on the product…
Ferdi
  • 31
  • 1
1 2 3 4 5 6
7