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

Rebuilding a component invalidates the oik_shortcodes function reference #52

Open
bobbingwide opened this issue Apr 5, 2017 · 2 comments
Assignees

Comments

@bobbingwide
Copy link
Owner

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
Copy link
Owner Author

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
Copy link
Owner Author

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
Projects
None yet
Development

No branches or pull requests

1 participant