Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi tfmwa,
Thanks for reporting that bug. Can you please export that meta box file and email to me ([email protected]) or better give me your site credentials via contact form then I can check it.
Best regards
Tan
Anh Tran
KeymasterHi sarzade,
Currently, MB Group doesn't have html ID attribute so that's the reason why MB Conditional Logic can't hide Group. We're working to fix it.
Best regards,
Tan
Anh Tran
KeymasterHmm, the latest version is 1.0.3, so you should be able to see updates. Can you please click Check updates in Dashboard | Updates to force check for updates again?
In case you still haven't seen updates, please go to your profile and re-download the extension. I will check the problem with updater again.
Anh Tran
KeymasterYes, doesn't it show new updates available for group extension? Have you entered your API key in the Updater's settings page? Can you please check the current version of the group extension that you're using?
December 5, 2015 at 3:42 PM in reply to: Can't use wp_query "meta_key" parameter to filter posts #1868Anh Tran
KeymasterI mean getting the ID of the post you want to get value for. Inside the loop, you setup global post object and the helper function auto takes its ID. But outside the loop, the helper function doesn't know which post object to take ID, and thus it might output the wrong value.
I'm not sure if that's the case, cause the situation is not 100% clear. That are just my thoughts.
Anh Tran
KeymasterIt seems the version of group extension is old. Please update the Group extension to the latest version 1.0.3 which has a fix for this.
Anh Tran
KeymasterHi Johann, I think yes :), the code is correct.
Anh Tran
KeymasterHmm, I see. So you set a fixed template for the front page and don't use Page template at all.
My suggestion is making the front page a normal page template (so it won't be hardcoded) -
template-front-page.phpfor example and use the extension to show meta box for this page template only:'show' => array( 'template' => array( 'template-front-page.php' ), )Anh Tran
KeymasterLet me check it again and get back to you. The 4.7 has a new feature with custom attributes, including the meta value. Maybe it *thinks* the value is empty and doesn't show it.
Anh Tran
KeymasterHi Johann,
For group, the value of a group is always an array. If it's cloneable, then the value is always array of arrays (2 level depth array), even when it's empty. So, for group, you should check the subvalue as well, not just
emptyon the group value.For other fields, I can't replicate the bug. There is also 1 open pull request for similar bug on Github (for oembed field), but I can't make the same bug:
https://github.com/rilwis/meta-box/pull/703
Do you see the same problem? Can you post your code?
Anh Tran
KeymasterHi Saul,
I think it's fixed in the development version on Github:
https://github.com/rilwis/meta-box/blob/master/inc/fields/post.php#L142
I will update the plugin soon so it's available on WordPress.org as well.
Anh Tran
KeymasterIn your shortcode, you use a custom query but you don't reset the query after outputting HTML. That makes the global
$postobject isn't reseted and contains wrong value of the current post. Thus, therwmb_metashortcode can't get the correct value.Best way to resolve this is adding
wp_reset_postdata()after your query and try again.Anh Tran
KeymasterHi Johann,
1. You mean if the page is set as the static front page in Settings | Reading? Or just front page template?
If front page template, we already have that with the option 'template'.
2. We have options to reorder clonable fields. Just add
'sort_clone' => trueto the field and you will see :). It works for both normal fields and group.Anh Tran
KeymasterHi Memaddog,
Thanks for reporting that bug, we can make sure that MB Builder never touch to your exists custom fields (the only thing it do is create Meta Box). Can you please send me the exported file of that meta box to [email protected] so I can fix that bug asap ๐
Regards
Tan
Anh Tran
KeymasterHi Johann,
It's not possible to do that. The extension only supports cloning the whole group, not sub-fields.
-
AuthorPosts