Support › MB User Profile › Shortcodes are not taken. They appear as plain text.
Shortcodes are not taken. They appear as plain text.
I am following this tutorial:
You can switch to the tab Text and add the shortcode, remember to remove two spaces between open and close square brackets. Screenshot https://imgur.com/wu5DRpf
Thank you. I was able to continue with the tutorial.
They mention a short code so that the password can be edited but the shortcode is not visible.
[mb_frontend_form id = "publish-post" post_fields = 'title, content' status = "pending"]
I guess it could look like this:
[mb_frontend_form id = "publish-post"]
My final Shorcode looked like this:
[mb_frontend_form post_fields = 'title, content, thumbnail']
It has helped me to continue with the tutorial.
If you can comment if I am correct, I would appreciate it.
Please find the shortcode to update the password on the extension's documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-user-password
As you can see on this documentation https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes
the default post fields are supported
thumbnail. So you do not need to create the same custom fields like that.
Hi, Long. Thanks for his responses. I have practically finished the tutorial. I would only be missing point three. I'm not sure where to put that code because I use this shorcode to show the Dashboard:
[mb_frontend_dashboard edit_page = "124"]
Reading the documentation I understand that a similar example appears in the item: Reorder Post Fields.
Where should I make those changes?
Do you mean the code to allow users to change the post status on the frontend? You can put it in the file functions.php under the theme/child theme folder, like registering the meta box by code https://docs.metabox.io/creating-meta-boxes/#using-code