Skip to content

Instantly share code, notes, and snippets.

View outofthesandbox's full-sized avatar

outofthesandbox

View GitHub Profile
#### Issue description
#### Steps to reproduce the issue
1.
2.
3.
@outofthesandbox
outofthesandbox / disable-apps
Created October 18, 2017 21:19
Disable Apps
### Disabling all apps code loaded via `content_for_header`
Apps are all loaded in the header via a single script call, then the remaining assets are loaded below. This process takes place in the liquid tag `content_for_header`.
1. Open theme.liquid and locate the line which reads `{{ content_for_header }}`.
2. Now you can paste the following block of code to disable all apps on a new line before `{{ content_for_header }}`.
```
{% comment %} Leave url_to_remove as 0 to remove all apps, or set to a number to remove a specific app. {% endcomment %}