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

Create a Fields block -server side rendered - for [bw_fields shortcode] #21

Open
bobbingwide opened this Issue Dec 13, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@bobbingwide
Copy link
Owner

bobbingwide commented Dec 13, 2018

This would be a nice addition to use to document the Block CPT.

Requirements

  • a Fields block for the [bw_fields] [bw_field] shortcode, from oik-fields
  • Allows display of meta data and virtual fields

Proposed solution

  • New block oik-block/fields - Fields
  • Implemented as a dynamic block for server side rendering
  • Easy options for choosing the fields attribute: featured, etc
  • Checkbox to choose [bw_fields] or [bw_field] logic; with or without labels
  • Allow entry of field names too

The block to be added to the list of experimental blocks in #16.

@bobbingwide bobbingwide self-assigned this Dec 13, 2018

@bobbingwide bobbingwide changed the title Create a Fields block for [bw_fields shortcode] Create a Fields block -server side rendered - for [bw_fields shortcode] Dec 14, 2018

@bobbingwide

This comment has been minimized.

Copy link
Owner

bobbingwide commented Dec 15, 2018

While developing this block I used the sctext field type for the Icon: field for the Blocks CPT. The shortcode was expanded in the front end but not when invoked by the REST server. This probably needs to be fixed in either oik-fields or oik. It's not a show stopper.

bobbingwide added a commit that referenced this issue Jan 2, 2019

bobbingwide added a commit that referenced this issue Jan 15, 2019

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