Forum Replies Created
-
AuthorPosts
-
Adam M
Participant+1
I thought I could get rid of plugin "Simple Custom Post Order" with this feature, but unfortunately not, since I need ordering of a hierarchical post type.
April 13, 2021 at 8:29 PM in reply to: ✅mb_user_profile_register autocomplete="new-password" ? #27210Adam M
ParticipantThank you. That was helpful.
To restate for those who are at least as slow as me: the registration fields created by shortcode
[mb_user_profile_register ...]are internally generated. However, using filterrwmb_profile_register_fieldsmeans that all these internally-created fields are passed to the filter for rewriting from scratch.The snippet above does this, with the difference between it and the internally-generated representation being that the password-related attribute I wanted is there:
'attributes' => [ 'autocomplete' => 'new-password' ]Adam M
ParticipantOuch!
That's too bad because you have the nicest field and options page builders I've used so far!
Adam M
ParticipantThanks for the pointer!
To recap from the top answer, these are W3C-defined features, with the important aspects being:
A readonly element is just not editable, but gets sent when the according form submits. A disabled element isn't editable and isn't sent on submit.
March 26, 2019 at 7:10 PM in reply to: ✅Don't understand how to proceed after setting up custom table #13935Adam M
ParticipantThank you for taking the time to create this video. It is very useful.
I had assumed that mapping the fields to the admin interface would be done similarly to how it's done for custom post types. But this clarifies it.
March 26, 2019 at 4:15 PM in reply to: ✅Don't understand how to proceed after setting up custom table #13933Adam M
ParticipantAre you using MB Builder to create fields?
I set up a new table with fields directly in the database. I then assumed that I need to set up fields in MB Builder to enable me to list/add/edit content in that table from within WordPress.
Do you want to store custom fields value in post meta (the normal WordPress way) or in a custom table. I’m quite confused since your first post is about custom table, but the 2nd one is not.?
Just ignore what I thought might be the process and please tell me, step-by-step, how do I use MB to list/add/edit content into a custom table I set up in the database (not in post meta)? I am unable to find instructions on this.
March 25, 2019 at 10:30 PM in reply to: ✅Don't understand how to proceed after setting up custom table #13919Adam M
ParticipantAnh Hi,
Thanks for your response, but I'm not sure I understand what my next step should be after creating custom fields.
I've gone ahead and created a custom post type, then gone into the previously-created Field Groups definition, and under "Settings" I've set "Post Type" to the newly-created custom post type, "Tracking". I've left "Show for" as "Posts".
Now when I go to "Trackings > Add new" for the new post type, it's allowing me to insert all the fields I defined. But when I click "Publish" and check the post, none of the custom fields retained the values that I entered.
What am I doing wrong?
-
AuthorPosts