Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Andrew Fielden

    (@thebiga)

    OK, 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-api when you enqueue it. If you want to enqueue the script manually, add wp_enqueue_script( 'wp-api' ) to a callback on wp_enqueue_scripts.

    Unless I have missed something I think that there should be something in the Docs about this – I am happy to help.

    Have you had a solution to this as we have a similar problem?

    Hi

    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

    Thread Starter Andrew Fielden

    (@thebiga)

    If anyone is interested I have now worked it out and am now in the process of building my update variations program.

Viewing 4 replies - 1 through 4 (of 4 total)