Skip to content
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

Allow list section defaults to be filtered, account for container class #34

Conversation

jeremyfelt
Copy link

We're converting styles and JavaScript that we've previously used with a standard WP nav menu and sub-menu is used by WordPress for child <ul> elements by default. This change makes it possible to filter the container class for sections as it is output.

Thanks for BU Navigation, we love it at WSU. 🍻

This allows the defaults for child menus to be altered before
output.
WordPress provides a `sub-menu` class by default with menus. Allowing
this to be modified in BU Navigation can help when converting an
existing menu with existing styles and interactions.
I *think* BU Navigation is using WP core styles in newer stuff.
jeremyfelt added a commit to washingtonstateuniversity/WSUWP-Build-Plugins-Public that referenced this pull request Jul 27, 2017
We need this in ASAP for Murrow.

See bu-ist/bu-navigation#34 for upstream
resolution.
Copy link
Contributor

@desrosj desrosj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! @inderpreet99 can give a second 👍.

@desrosj
Copy link
Contributor

desrosj commented Aug 1, 2017

Also to note, I reached out to Code Climate support. Open source repositories are free (which would allow us to evaluate incoming code from the community), but because this repo was added under the organization's umbrella it is saying @jeremyfelt needs to be added as a paid user. Seeing if there is a way to separate this repo.

@jeremyfelt
Copy link
Author

Clearing out my open PRs :)

@jeremyfelt jeremyfelt closed this Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants