From 4fe796a1db9e31a8c67d0866c197e07e877a6ad3 Mon Sep 17 00:00:00 2001 From: Milan Bombsch Date: Wed, 12 Jan 2022 15:32:16 +0100 Subject: [PATCH 1/2] fix typos --- .gitignore | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1bb2d7bf7..f4445f484 100755 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ composer.phar /release cypress/videos cypress/screenshots +.DS_Store diff --git a/README.md b/README.md index c8ede376e..8ef0f2433 100755 --- a/README.md +++ b/README.md @@ -90,12 +90,12 @@ The support is still experimental since it's also marked as experimental in the Please be aware that this plugin does not include the Bootstrap library in your website. You need to do this by yourself. We decided not to include the library so that you can modify Bootstrap to your own needs before loading it. -The easiest way to do this is to add the following to your theme's `function.php`: +The easiest way to do this is to add the following to your theme's `functions.php`: ```php function mytheme_load_bootstrap() { if ( is_admin() ) { - return; + return; } wp_enqueue_style( 'bootstrap', 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css', array(), '4.3.1' ); From 5823016724a6ecda9e0aeb4e60e9cb41b0fa253b Mon Sep 17 00:00:00 2001 From: Juerg Hunziker Date: Fri, 21 Jan 2022 22:16:42 +0100 Subject: [PATCH 2/2] fix typo in readme.txt --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 4d49c2bd9..4a210d846 100644 --- a/readme.txt +++ b/readme.txt @@ -93,7 +93,7 @@ The support is still experimental since it's also marked as experimental in the Please be aware that this plugin does not include the Bootstrap library in your website. You need to do this by yourself. We decided not to include the library so that you can modify Bootstrap to your own needs before loading it. -You'll find an example how to include it in your theme's `function.php` in the [documentation](https://github.com/liip/bootstrap-blocks-wordpress-plugin#bootstrap-library). +You'll find an example how to include it in your theme's `functions.php` in the [documentation](https://github.com/liip/bootstrap-blocks-wordpress-plugin#bootstrap-library). = Templates =