Andrew Fielden
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress REST API (Version 2)] Trying to use backbone modelsOK, so I’ve got past that one from this in the changelog
Our fantastic JavaScript API from version 1 is now available for version 2, refreshed with the latest and greatest changes.
As a refresher: if you want to use it, simply make your script depend on
wp-apiwhen you enqueue it. If you want to enqueue the script manually, addwp_enqueue_script( 'wp-api' )to a callback onwp_enqueue_scripts.Unless I have missed something I think that there should be something in the Docs about this – I am happy to help.
Forum: Plugins
In reply to: [Comment Attachment] Large filesHave you had a solution to this as we have a similar problem?
Forum: Plugins
In reply to: using 1 form shortcode (si or cf7) for all multisite sitesHi
I was looking for an answer to this myself, would be interested to know if you have an answer.
I think that the problem is that all sites in the network have their own database tables. That means that anything that is using a custom post type will be storing that info in the posts and associated tables for that site so any form will be unique to the site.
I have happily created two sites and created two contact forms which the shortcodes can handle.
Whilst I have only just started looking into this my gut feeling is that there is probably a way to hook into the code for CF7 and auto-create a form, after all they do this when the plugin is activated. My other gut feeling is that this will be a right pain to get done and will not be a quick job.
Andrew
Forum: Plugins
In reply to: WP e-Commerce update variations tablesIf anyone is interested I have now worked it out and am now in the process of building my update variations program.