Everything works just fine. But, when I add another wp site (its a Multisite installation), I will have to create the same guest post form there too, and the Form ID will NOT be the same right? so, my page-submit.php template in that blog will not work, as it calls out pwuf_form id=37, which will be true only for the first main site, all other sites will have guest post forms with different IDs.
I need to come up with the solution to somehow, display the guest post form in a way, that the form will display in all blogs, regardless of form ID or whatever.
With a single form, it's not possible to manage the whole network.
Here's what might be a workaround:
1. Create a master form.
2. As the form settings and form fields are stored in the custom field, collect those data and store in a PHP array.
3. Whenever a new site is created, run a function to create a form automatically and save the form id in a option for that site.
4. In your page template, get the current sites saved form id from the option and show the form.