Forum Replies Created
-
AuthorPosts
-
March 27, 2017 at 8:35 AM in reply to: How can I put a custom meta box above the editor but below the title section #5388
Anh Tran
KeymasterHi ismail,
Currently the plugin hasn't supported that location yet. We will working on that soon.
Anh Tran
KeymasterWhich version of Meta Box plugin you're using? Are you bundle the Meta Box plugin inside your theme?
The bug shows that the function
RWMB_Field::call()is not available, while it's added in the Meta Box plugin quite long time ago.Anh Tran
KeymasterTGMA will install the extensions as separated plugins and then they have to work as normal install. Have you refresh the admin page after install and activate the extensions from TGMA page? I've just tried again with TGMA and it works for me.
The admin columns also works :(. Can you make a screenshot or short video?
Anh Tran
KeymasterHi,
I've just tried including the updater extension in a custom plugin / theme (twentyseventeen), and including the main plugin file in the functions.php file. The settings page shows to me. Can you check the way you load the extension?
Anh Tran
KeymasterI got it. Looks like the ID of the English version is not translated into the ID of the German version. I got help from WPML team to add this feature in the previous version. I will check it now.
In the worst case, I think a solution for this might be using 2 fields: 1 for English and 1 for German, and in the frontend you can use a condition to get the correct field.
Anh Tran
KeymasterIt still works: http://prntscr.com/encgwh
Here is my code: http://pastebin.com/gBpS4Fv5
Probably you need to change the priority in the
inithook for registering post type and taxonomy to something very low (like0), so post type and taxonomy are available when registering meta boxes.Anh Tran
KeymasterHi, you probably need to translate all posts into another language. WPML auto changes the query to include only posts in the current language.
Anh Tran
KeymasterPlease follow this documentation: https://metabox.io/docs/mb-admin-columns/#section-create-custom-admin-columns-without-custom-fields
In the callback function to show column content, you can use the function
the_post_thumbnail.Anh Tran
KeymasterHi Carlos,
I've just checked your code and it works: http://prntscr.com/emi3f6. Can you check if you're using an old version of the extension?
Anh Tran
KeymasterHi ismail,
Unfortunately, nested tabs are not supported. Tabs are defined at meta box level and there's only 1 tabs group.
Anh Tran
KeymasterHi,
You're right. The indexes for cloned values are not reset properly when saving. I've just updated the extension with a fix for that. Please update.
Anh Tran
KeymasterOK, great. Let me know if you still see the bug.
Anh Tran
KeymasterHi @carassius,
This bug was reported in this ticket and I'm working on it.
Anh Tran
KeymasterHi,
Did you get the
$settingsfirst, like shown in the documentation?$settings = get_option( 'option_name' ); $field_id = 'your_field_id'; if ( isset( $settings[$field_id] ) ) { echo '<div id="preloader">'; } -
AuthorPosts