Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterYes, you can do that with the filter, like this:
add_filter( 'rwmb_media_add_string', function( $string ) { $screen = get_current_screen(); return 'page' === $screen->post_type ? '+ New File' : $string; } );Anh Tran
KeymasterHi, this can be done with CSS. Here is a trick to output quick CSS for the field without enqueuing new CSS file:
<?php add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) { $meta_boxes[] = [ 'title' => 'Test Meta Box', 'fields' => [ [ 'type' => 'file_upload', 'id' => 'test', 'name' => 'File Upload', 'after' => '<style>.rwmb-edit-media { display: none; }</style>' ] ], ]; return $meta_boxes; } );Anh Tran
KeymasterHi Guy, I got it. I've just release version 1.5.2 of the Meta Box AIO with a fix for that. Please update!
Anh Tran
KeymasterHi Steven,
I've just resent the email with download link. Can you please check your inbox?
Anh Tran
KeymasterHi Jackky,
There is a workaround on this issue, made by fexy in this topic. Please take a look.
Update: I've improved the clone feature for
postfield. No more extra queries for clones. Please update to the latest version 4.15.0.Anh Tran
KeymasterHi Guy,
The technical difficulty has stopped us from investigating time and effort on doing this feature :(. There's no solution for this yet.
June 22, 2018 at 11:54 AM in reply to: How to allow editing field values thru Frontend Submission by the author only? #10305Anh Tran
KeymasterHi,
Each submitted post will have an unique post ID. You need to get that ID and set it in the
post_idattribute of themb_frontend_formshortcode. That will allows user to edit the info.There is a similar topic that you might be interested in.
Anh Tran
KeymasterHi Guy,
Yes, you can do that. There's some snippets on the TGM Plugin Activation repo on Github.
I think you can do that with the following code (untested):
Anh Tran
KeymasterHi Guy,
Do you mean in the Meta Box AIO?
The plugin only requires the core Meta Box plugin. All other extensions are recommended. The text displays that correctly as shown in the following screenshot:
https://imgur.elightup.com/GqW73Gi.png
And in the list of plugins, it clearly states which one is required/recommended:
https://imgur.elightup.com/4MNZdwY.png
By the way, this UI is created by TGM Plugin Activation Class and the customization is quite limited.
June 22, 2018 at 11:20 AM in reply to: Please allow developers to remove the Dashboard from the new Global menu #10302Anh Tran
KeymasterHi Guy,
What/How do you want to "white label" the welcome page?
Anh Tran
KeymasterAnh Tran
KeymasterHello,
The clone feature uses jQuery and when a clone event is fired, it loops through all the inputs, updating their indexes, values and name attribute. The more inputs, the longer the process take.
I have improved the speed of cloning in this ticket. I'd suggest you reduce the number of inputs and use the wysiwyg field for some cases. Here is an interesting discussion about this.
Anh Tran
KeymasterI got it. I thought the tabs in the MB Tabs extension.
Anyway, have you tried using this selector
a[href*="tab-general"]?Regarding the CSS class for settings pages, yes, it's only available for fields.
June 21, 2018 at 1:58 PM in reply to: action rwmb_after_{$meta_box_id} or action for settings page #10288Anh Tran
KeymasterNo, it's created for internal use. I'll add it to the docs right now.
Anh Tran
KeymasterAll files in the plugins will be removed and replaced by the new files in the newer versions. So do not keep the language files in the plugin folder. Instead, you can:
- Send me the translation files, so I can update the extensions with the new translations! That will help other people!
- Or you can keep your translation locally in the
wp-content/languages/plugins/PLUGIN-SLUG/folder. WordPress will use the translation files in this folder if they're available. If you use the Loco Translate plugin to translate the plugins, it has option to save file to this folder.
-
AuthorPosts
