Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
Unfortunately, no. Each clone can be dragged and dropped inside its parent only.
Anh Tran
KeymasterHi Thomas,
I've been thinking about this, too. It seems that I have to add some more code to target this situation. Let me try to do that.
Anh Tran
KeymasterCan you try with the latest version of Conditional Logic? I updated it 2 days ago. I tested with your code again and it works as expected.
Anh Tran
KeymasterI got it. The first tab is always the active one when page loads. It's styled by a CSS class. I think the best solution for this issue is reorder the tabs, e.g. move another tab to the top, so when Featured Image tab is hidden, the first tab is still the active one.
Anh Tran
KeymasterHi Thomas,
I will change the file name next time when we update the plugins. This is just an recommendation from Theme Check and that's totally fine.
January 8, 2018 at 7:35 PM in reply to: ✅clone_default doesn't appear to work with Clone Group? #8163Anh Tran
KeymasterHi, please set
clone_defaultfor sub-fields instead of the group field. It works only for sub-fields.Anh Tran
KeymasterHi,
We’re working on that. It will be released latest early next week. Please wait.
Thanks for understanding.
Anh Tran
KeymasterHi,
Sorry to reply late. The file upload field actually doesn't open the Media Library for selecting files (you can do that with file advanced field). I should have corrected the documentation 🙁
Anh Tran
KeymasterHi,
Can you try this code:
$images = rwmb_meta( 'gallery' ); $image_ids = array_keys( $images ); $shortcode = '[' . 'gallery ids="' . implode(',', $image_ids) . '"]'; echo do_shortcode( $shortcode );Anh Tran
KeymasterHi Thomas,
Your case is a combination of the featured image rule with this tutorial.
I added the solution to the library. Please take a look.
(Note: I removed all textdomain and prefix to help others see the code clear).
Anh Tran
KeymasterI've just fixed this bug and tested with your code in version 1.2.1. Please update!
Anh Tran
KeymasterHi Thomas, I've just updated the plugin, adding support for Featured Image. Please see the documentation for usage.
Cheers
Anh Tran
KeymasterThanks a lot for your code. I will look at that and fix as soon as I can.
Anh Tran
KeymasterUnfortunately, it's not possible for now. But that's a good idea when combining meta box ids into 1 parameter. I'll see if I can implement that.
-
AuthorPosts