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

Rebuilding a component invalidates the oik_shortcodes function reference #52

Open
bobbingwide opened this Issue Apr 5, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@bobbingwide
Copy link
Owner

bobbingwide commented Apr 5, 2017

When completely rebuilding the API reference for a component all posts are deleted. This invalidates the API reference in the oik_shortcode.

Proposed solution.

Either remove the field or convert it to an 'sctext' field containing an [api] shortcode.

@bobbingwide

This comment has been minimized.

Copy link
Owner

bobbingwide commented Apr 26, 2018

The code has now been changed to that the meta box in the editor allows entry of the field either as the API name or the post ID.
The Create shortcode admin page has not been updated.

@bobbingwide

This comment has been minimized.

Copy link
Owner

bobbingwide commented Dec 11, 2018

The display of the field by bw_fields didn't allow for a blank value. I've fixed this in the latest commit.

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