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

Improve display of shortcode parameters ( oik_sc_param post type) #3

Closed
2 tasks
bobbingwide opened this issue Sep 15, 2015 · 0 comments
Closed
2 tasks
Assignees

Comments

@bobbingwide
Copy link
Owner

Each shortcode may support a range of parameters. When a shortcode is registered using the oik options > create shortcode admin page it creates a number of posts with post type oik_sc_param.
At the moment, on oik-plugins, when you view a particular instance of a shortcode parameter you don't see much unless it has been manually edited.

Proposed solution

Automatically display the fields and the syntax for the shortcode.
Two changes are required:

  • Automate the creation of additional content for oik_sc_param to append [bw_code name=.] if there aren't already shortcodes in the content
  • Change the genesis-oik theme to display a sidebar and include the sidebar-alt widget area - which will display the Information using [bw_fields].
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