I was searching for the best way to allow users to submit, edit and delete their custom posts generated with MB on the front end when I finally stumbled upon MB's has a solution for it. The sad part is that it is not very well documented nor very well publicised. An in-detail video would be great 🙂
Could you please suggest a solution for the following case:
2 (or more) CPTs - food, drink
Environment - Elementor Pro
User accesses the page with 2 tabs - one for the list of submitted food dishes, the other one for submitted drinks.
Each tab has a separate User Posts Dashboard where the related posts are listed with Edit and Delete buttons.
Please please please assist in as much detail as you can.
Many thanks in advance 🙂
The extension MB Frontend Submission does not support adding more frontend submit and frontend dashboard shortcodes on a page. The functions of the plugin might not work properly. You need to add each shortcode on a page separately.
Thanks for your reply. Could you please clarify something for me?
In your online instructions, you say:
So, basically, all you need to do now is just create a normal WordPress page, and insert the following shortcode into the page content:
Where 124 is the ID of the page, where you already have to let users submit posts. And when users visit this page, they'll see a dashboard...
"the page, where you already have to let users submit posts" - Which page is that?
Thanks in advance 🙂
It is the page that has the frontend submit shortcode
[mb_frontend_form], screenshot https://share.getcloudapp.com/Z4ujz0E8
So, different CPT dashboards would need to be linked to their appropriate CPT frontend submission pages - right? These submission pages would need to be created with Meta Box - right?
Yes, the submission pages should have the frontend submit shortcode. And you should add the ID of the submission pages to the attributes
edit of the dashboard shortcode.
Hi again. Sorry to bother you, but having inserted the shortcode for the edit page of CPT, I get all standard WP posts listed. Not the dish CPT. Perhaps there's a CPT indicator missing?
My edit page (ID: 747) shortcode: [mb_frontend_form id='dish-group' post_fields='']
( I even tried [mb_frontend_form post_type="dish" id='dish-group' post_fields=''] )
My dish dashboard page shortcode: [mb_frontend_dashboard edit_page="747"]
I can't find any helpful article about this.
Solved with [mb_frontend_form id='dish-group' post_fields='' post_type='dish']
Please advise how I could change columns in the dashboard. I.e. get rid of Date and Status, and add Content and selected Custom Fields?
Many thanks in advance!
Currently, there is no option or filter hook to change the content of the table on the dashboard.