Frontend editing

Support MB Frontend Submission Frontend editing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45572
    Bertus de LeeuwBertus de Leeuw
    Participant

    Hi everybody. I have a question about front-end editing. I have now placed a shortcode <div>[mb_frontend_dashboard post_type="news-message"]</div> and then I can see perfectly which posts I have, but when I press the edit icon nothing happens. When I press delete it works perfectly.

    I also have a front-end page to add these posts (it's stated in the documentation: You must create a page for submitting posts first, then use its ID in the edit_page attribute.). The documentation also states that I should use the ID of the post in the edit_page attribute, but how do I do that?

    It's a shortcode, right? Do I have to create a separate shortcode for each new page that the user creates? That would be an impossible task.

    #45581
    PeterPeter
    Moderator

    Hello,

    You need to add the attribute edit_page to the frontend dashboard shortcode and assign the ID of the page where you add the frontend submission form, screenshot https://imgur.com/5Iy8aE8

    The frontend dashboard shortcode would be:
    [mb_frontend_dashboard edit_page="1807" post_type="news-message"]

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.