Custom Fields
Re-Envisioned
Support MB Frontend Submission front end submission dashboard with custom post type

  • Creator
    Topic
  • #22681
    Resolved jpascale
    Participant

    Hi!
    1) I have been able to create a front end submission dashboard with non-custom posts.

    2) I have been a create a front end submission form for custom posts.

    3) I have not been able to create a front end submission dashboard that will list the custom posts.
    I couldn't find documentation for the [mb_frontend_dashboard] shortcode that explains how to use it with custom posts.

    Thanks, James

Viewing 10 replies - 21 through 30 (of 42 total)
  • Author
    Replies
  • #24153
    RadoslawPiechowicz
    Participant

    Tested - that wasn`t the problem 🙁

    #27177
    Ulysse
    Participant

    Hello,
    I have exactly the same issue.

    Everything is well setup on website and the shortcode does not display the cutom post. Only the default post.
    I use the shortcode like that:
    [mb_frontend_dashboard edit_page="190" post_type="agent"]
    with page id=190, the page where I have the form [mb_frontend_form id='fields-for-agent' ]
    and post_type is "agent".

    I have deactivated all my plugins (I have very few), my theme is very basic (hello theme). I use elementor and elementor pro. I tried to deactivate them and still get the same issue.

    I don't know what to do.

    #27184
    Long Nguyen
    Moderator

    Hi guys,

    There is a difference between the double quote " "190" and quotation mark ” ”190″. Please type the double quote correctly.

    [mb_frontend_form id="fields-for-agent" post_type="agent"]

    and the attribute post_type is used in the shortcode [ mb_frontend_form ]

    #27189
    Ulysse
    Participant

    Thank you. It works. Everything is now in double quote.

    For your info, the shortcode given by the plugin uses simple quotes: [mb_frontend_form id='fields-for-agent' post_fields='title,content']

    Here is a screenshot: https://prnt.sc/11apzkd

    So it's very confusing.

    #27845
    Patrick Nelson
    Participant

    Hi, I'm having the same problem. I am using the shortcode
    [mb_frontend_dashboard edit_page='1819' post_type='speaker-profile']
    to display a user dashboard of posts of the CPT speaker-profile but the output is of the standard WP posts.

    https://prnt.sc/12ffd8q

    I have tested by switching themes to Twenty Twenty-One as shown in the screenshot below and disabling plugins but nothing changes.

    https://prnt.sc/12ffdyk

    I have been through this forum discussion and applied everything suggested but still no luck.

    #27849
    Ulysse
    Participant

    Hi. Use double quotes instead of simple quotes and it should work.

    #27855
    Patrick Nelson
    Participant

    Thanks Ulysse but that was one of the suggestions made during this discussion and I tried it already but it doesn't make any difference.

    #27857
    Ulysse
    Participant
    1. You tried this? :
      [mb_frontend_dashboard edit_page="1819" post_type="speaker-profile"]

    be aware there is a difference between ' '' and "

    1. Try to use the shortcode on a page not edited with elementor.
    #27862
    Patrick Nelson
    Participant

    Ok, just tried that, using a straightforward Gutenberg block:

    https://prnt.sc/12fjg7o

    The result, sadly, is still the same:

    https://prnt.sc/12fjhnq

    #27875
    Long Nguyen
    Moderator

    Hi Patrick,

    The post type attribute should be added in the shortcode frontend submit to make the dashboard works.

    [mb_frontend_form post_fields="title,content" post_type="speaker-profile"]
    

    Get more details here https://docs.metabox.io/extensions/mb-frontend-submission/#creating-post-forms

Viewing 10 replies - 21 through 30 (of 42 total)
  • You must be logged in to reply to this topic.