-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add banner with survey link #1154
Conversation
I added a new SCSS file for this and I think I built everything correctly from there, but let me know if not. |
@@ -0,0 +1,48 @@ | |||
.notice { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of this came from _locale_notice.scss
, only the survey notice style is new
@@ -60,8 +60,8 @@ function update_locale_data() { | |||
* Register style and script assets for later enqueueing. | |||
*/ | |||
function register_assets() { | |||
// Locale switcher script. | |||
wp_register_script( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This meant the script was never loaded on the frontend
This LGTM |
This PR adds a persistent banner below the primary site navigation that includes a link to the individual learner survey. Fixes #1153