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 generic wrapper function for all the things - wds_do_page_builder() #13

Closed
jazzsequence opened this issue Jul 15, 2015 · 3 comments
Closed
Milestone

Comments

@jazzsequence
Copy link
Contributor

this would be different than wds_page_builder_load_parts but could potentially use that function. usage would look something like this:

wds_do_page_builder( array(
     'section',        // wrapper type, e.g. <div>, <aside>, whatever
     'part-container', // wrapper class or classes
     'layout-name',    // optional, the layout to load or whatever the default is
) ); 
@jazzsequence
Copy link
Contributor Author

maybe find a better name.

@jazzsequence jazzsequence modified the milestone: 1.5 Jul 15, 2015
jazzsequence added a commit that referenced this issue Jul 21, 2015
… if we're not doing this by default (and using the before/after action hooks).

closes #13
@jazzsequence
Copy link
Contributor Author

new function is wds_page_builder_wrap

@jazzsequence
Copy link
Contributor Author

tested, refactored, tested a lot more, working now. 💥

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