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

Feature/acf block options universal use #356

Merged
merged 5 commits into from
Mar 23, 2018

Conversation

jomurgel
Copy link
Contributor

@jomurgel jomurgel commented Mar 23, 2018

DESCRIPTION

Adds a simple ternary check to allow for the _s_display_block_options function to be used outside of the ACF Flexible Content block.

This also lints the inc files to bring it up to date with the WDS standard.

Also changes the background type options from null : None to none : None which the _s_display_block_options function checks for, but fails — and sets the default as fallback.

screenshot 2018-03-23 11 06 14

Copy link
Contributor

@gregrickaby gregrickaby left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks! 👍

@gregrickaby gregrickaby merged commit ac8bfa2 into master Mar 23, 2018
@gregrickaby gregrickaby deleted the feature/acf-block-options-universal-use branch March 23, 2018 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants