Forum Replies Created
-
AuthorPosts
-
September 4, 2016 at 10:41 PM in reply to: Groups should be native functionality, not a premium extension #4009
Anh Tran
KeymasterHi Sam,
Thanks a lot for your suggestion. Currently, Group is the most popular extension that generates most of the revenue for us. So, making it free hurts the business, at least at the moment. But that doesn't mean that we won't in the future. We need to grow the business while would like to give back to the community as much as possible.
Regarding the Composer, we did release Meta Box as a standalone package on Packagelist, so using it with Composer is just easy. I'm not sure how to release a private repo on it and share the access to users. If you know any way or method to do that, please just tell me. I'm open to any idea.
Thanks
AnhSeptember 4, 2016 at 10:35 PM in reply to: URGENT: Since site migration, metabox is breaking entire WP backend #4008Anh Tran
KeymasterDo you see any error in the Console? As the editor doesn't show up correctly, I guess the error comes from JavaScript. Any error in the console would help.
Anh Tran
KeymasterHi, we had a fix for that in the development version of the main plugin on Github. We'll release it soon later this week or early next week. In case of urgent, please download and use the development version.
Anh Tran
KeymasterHi, do you mean changing the hook from
admin_inittoinitmakes the error disappear? Theinitis being used in our development version which will be released soon.Anh Tran
KeymasterYes, you can use the
mediafield to show a drag and drop area to upload files.Anh Tran
KeymasterHi Mark,
I made a screencast http://take.ms/rshlfx, can you please take a look? It just works for me for both new and existing posts.
August 31, 2016 at 4:24 PM in reply to: Problems with the latest version of metabox vs mmb-settings-page #3974Anh Tran
KeymasterJust released a new version of MB Settings Page extension with fix for this. Please try it.
August 31, 2016 at 2:53 PM in reply to: Problems with the latest version of metabox vs mmb-settings-page #3972Anh Tran
KeymasterOh, I see the problem now. I'm working on it.
Anh Tran
KeymasterHi,
Currently, we can support only drag and drop clones within its parent. Moving it into another container (another group) actually breaks the JavaScript code ๐
Anh Tran
KeymasterHi,
Assuming you have a page template file called
template-front-page.phpin your theme folder and you want to create a meta box only for that page template, then please change the code to:add_filter( 'rwmb_meta_boxes', 'prefix_include_exclude_demo' ); function prefix_include_exclude_demo( $meta_boxes ) { $meta_boxes[] = array( 'title' => 'Template - Home', 'include' => array( 'template' => array( 'template-front-home.php' ), ), 'fields' => array( array( 'name' => 'Name', 'id' => 'name', 'type' => 'text', ), ), ); return $meta_boxes; }The demo code has all possible conditions for include/exclude. You just need to remove what you don't need ๐
Anh Tran
KeymasterHi Mark,
Please add custom attributes to text or textarea field like this:
It works in my case. Can you please try again?
Anh Tran
KeymasterHi,
Do you mean including the plugin inside theme doesn't load the translation?
Anh Tran
KeymasterHi @eboss99s,
Which version of Meta Box and MB Settings Page are you using? I'm testing with the latest version of MB Settings Page and development version of Meta Box and don't see the error.
Anh Tran
KeymasterHi,
You're trying to get field value from a group, so please try this:
$hero = rwmb_meta( 'home__hero' ); if ( ! empty( $hero ) ) { $h4 = isset( $hero['rw_hometemp-hero-h4'] ) ? $hero['rw_hometemp-hero-h4'] : ''; echo $h4; }Anh Tran
KeymasterSorry for the delay support :(. I'm trying my best to support all the tickets. It sometimes takes time to fix the reported bugs.
Regarding the problem with the frontend query, it's the permalink issue as the slug is changed. To fix it, simply go to Settings > Permalink and resave (you don't need to change anything).
Please let me know if it works.
Thanks -
AuthorPosts