-
Notifications
You must be signed in to change notification settings - Fork 21
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 simple API for external use #114
Comments
What is the different between the simple API and filter- and action hooks you implement in the premium version? |
the API will be there as well. The difference is not in how things work, Storing configuration in the DB is bad when you have a dev and production In a way, it is possible now to look at our code and call the shortcode now that I think of it maybe we will need two functions, one of the header The filters are not related for this, they will work the same way if it is On Fri, Oct 14, 2016 at 6:28 PM, Daniel Flöter notifications@github.com
|
not going to be as simple as I would have wanted as the CSS needs to be generated in the header so you either need two calls, one to do the CSS and another for the html. Instead I went with creating an object per widget which will "handle" the CSS side."automatically" and will need only a call to render the hml. so the sequence is |
need some unittest.... but right now I have no idea what to test, otherwise the feature is complete |
In short the API is to sync between widget instances? Can we add a documentation how to use it and a list with the interfaces? |
Not really to sync, the API is there for other people to create their own "widgets" based on our code.. I will write a blog post later this week and add documentation |
What can a user change (with the "... created own widget ...")? |
User can not change. the users of of the API are theme developers that need On Sun, Oct 23, 2016 at 9:58 AM, Daniel Flöter notifications@github.com
|
call it render, and pass array of widget instance parameters
The text was updated successfully, but these errors were encountered: