Support Forum
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:
https://metabox.io/p1-add-guest-author-in-wordpress/#before-get-started
Foto:
https://ibb.co/jMTzP21
Backend: https://ibb.co/g97m6PK
Hi Roma,
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.
Now:
https://metabox.io/p1-add-guest-author-in-wordpress/#before-get-started
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"]
https://imgur.com/W5S5V4u
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.
Hi Roma,
Please find the shortcode to update the password on the extension's documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-user-password
[mb_user_profile_info id="rwmb-user-info"]
As you can see on this documentation https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes
the default post fields are supported title
, content
, excerpt
, date
, 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?
Hi,
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