Skip to content

Commit

Permalink
Update readme to note how to disable Customizer
Browse files Browse the repository at this point in the history
  • Loading branch information
mjangda committed Aug 4, 2017
1 parent 0097341 commit 7e55562
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ The plugin ships with a default template that looks nice and clean and we tried

You can tweak small pieces of the template or the entire thing depending on your needs.

### AMP Customizer

The plugin ships with its own Customizer that you can use to tweak various parts of the default template like colors.

#### Disabling the AMP Customizer

If you're using a completely custom template, you may want to disable the AMP Customizer:

```
add_filter( 'amp_customizer_is_enabled', '__return_false' );
```

Note that this needs to be called before the `after_setup_theme` hook to work.

### Where Do I Put My Code?

The code snippets below and any other code-level customizations should happen in one of the following locations.
Expand Down

0 comments on commit 7e55562

Please sign in to comment.