diff --git a/README.md b/README.md index aadb5a9..9376d14 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,15 @@ chown -R www-data:www-data ./ ## Arc-hive theme notes +### Configure + +The main menu can be retrieved from a wordpress site and rendered. To configure this, edit `view/common/wordpress-menu.phtml`. Optional. + +``` +# Config +$wordpress_site="https://my.wordpress.site"; +$wordpress_endpoint="https://my.wordpress.site/wp-json/menus/v1/menus/4"; +``` For more advanced use, such as customizing the theme with Sass, you'll need to install the tools with [NodeJS](https://nodejs.org/en/) (0.12 or greater). Navigate to your theme directory and run `npm install`. diff --git a/view/common/header-collections.phtml b/view/common/header-collections.phtml index 12c84fc..7de2b81 100644 --- a/view/common/header-collections.phtml +++ b/view/common/header-collections.phtml @@ -18,12 +18,13 @@ diff --git a/view/common/header-default.phtml b/view/common/header-default.phtml index 772f9de..2640df2 100644 --- a/view/common/header-default.phtml +++ b/view/common/header-default.phtml @@ -42,12 +42,10 @@ $img_src = null;