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

Add Gutenberg Frontend #47

Open
benjaminpick opened this issue Jul 23, 2018 · 2 comments
Open

Add Gutenberg Frontend #47

benjaminpick opened this issue Jul 23, 2018 · 2 comments

Comments

@benjaminpick
Copy link
Member

benjaminpick commented Jul 23, 2018

Wordpress 5.0 will include Gutenberg, which replaces the nasty shortcode-logic with shiny visual blocks. This make nestes conditions possible (currently not possible because the same shortcodes cannot be nested).

@benjaminpick
Copy link
Member Author

Block 1: Doing the stuff the shortcodes like [geoip_detect2 property="country" default="(none)"] do

Block 2: Showing / hiding the content inside based on conditions. The conditions are combined with AND, a NOT is possible for each condition, and it is possible to set multiple values (comma-separeted?) (see https://github.com/yellowtree/wp-geoip-detect/wiki/API-Documentation#show-or-hide-content-depending-on-the-location). The challenge is to create a user interface that is as intuitive as possible. Maybe ACF can serve as a model.

@benjaminpick
Copy link
Member Author

For nested blocks (Block 2), see WordPress/gutenberg#428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant