I am using ProjectManager plugin to add/insert database tables in the posts.
I have inserted the data set form in a post using the short code:
The form is displaying well in the frontend. However once I click on Add Dataset, it is taking me back to backend. This will be problem for my users who are subscribers only and do not have access to the admin panel.
I have looked at the template file dataset-form.php where the following code looks like the one which is responsible for redirecting to backend:
<?php $page = 'wp-admin/admin.php?page=projectmanager&subpage=show-project&project_id='.$project->id; ?> <form name="datasetform" id="datasetform" action="<?php echo $page ?>" method="post" enctype="multipart/form-data"> <?php wp_nonce_field('projectmanager_edit-dataset'); ?>
What should I be changing in the above code such that my users are not redirected to backend once they fill up the form.
Any suggestions please?