Forum Replies Created
-
AuthorPosts
-
November 11, 2015 at 10:26 AM in reply to: Similar ID not work in different meta boxes and page templates #1719
Anh Tran
KeymasterHi Saquib,
The Show/Hide extension doesn't remove the input from the edit screen. It only toggles the input using CSS. That means both the inputs are there and that makes the browser users the latest value to send to PHP.
In this case, I suggest you use the Include/Exclude extension. This extension works similar to the Show/Hide, but it removes the input completely from the screen (if it's not included).
The other way is using different ID and then you can add a simple condition in the frontend to get the correct meta value.
Hope that helps.
November 11, 2015 at 10:19 AM in reply to: Unable to View Uploaded Image Without Changing Filter #1718Anh Tran
KeymasterHi Saquib,
Thanks for reporting this bug. This bug happens since version 4.6 due to the change in the JS code of the "image_advanced" field. It was reported in [Github](https://github.com/rilwis/meta-box/issues/678) and [here](https://support.metabox.io/topic/image-uploads-not-working/). We're working on this, please be patient.
Anh Tran
KeymasterHi kleis,
Currently it's not supported. We have a plan to develop this.
Anh Tran
KeymasterHi,
I've just updated the extension with the fix for this bug. Please update it.
Thanks.
November 9, 2015 at 9:24 AM in reply to: Is it possible to combine two meta items and concatenate them into a third? #1704Anh Tran
KeymasterHi,
Sorry for this late reply. I think it's possible if you want to combine 2 values only when querying the database using raw MySQL query. But if you want to combine them in another way or somehow (I'm not sure what you want exactly), then maybe you need to write a custom script to check and re-add a new meta value for each post.
Anh Tran
KeymasterThat's so great. Thank you very much!
Anh Tran
KeymasterI was trying to debug this and it seems fine. Here is the screenshot of "file" field, where the text is translated (I'm not sure if it's correct):
Maybe the problem comes from untranslated texts where you see them in English. Can you please check with "file" field?
In the case of untranslated texts, it would be great if you can contribute translation for the plugin at https://translate.wordpress.org/projects/wp-plugins/meta-box.
Anh Tran
KeymasterHi,
It looks like there is a bug with the condition 'AND', I will fix it and update asap.
Anh Tran
KeymasterHmm, in the version 4.6, I changed the way the plugin load translations (from translate.wordpress.org and fallback to local .mo files). In my test with Vietnamese, it was ok. Let me check it again.
Anh Tran
KeymasterThanks, Piet. Any chance to run the update again?
Anh Tran
KeymasterHi,
We've just noticed about this issue recently (https://github.com/rilwis/meta-box/issues/678) and we're working on this. Please wait.Thanks
Anh Tran
KeymasterCan you please try updating again? Sometimes it's because of the connection between your websites and metabox.io. I've just tested updating on my localhost and it works.
If the error still exists, can you please give me the full error message?
Thanks.
Anh Tran
KeymasterThe problem is you're using single quote twice (for
styleattribute and forurlin background), that makes the HTML invalid. You can omit the quote forurl, like this:<?php $images = rwmb_meta( 'meta-about-image', 'type=image' ); foreach ( $images as $image ) { echo "<a href='#' style='background: url({$image['full_url']});'></a>"; } ?>Anh Tran
KeymasterHi Piet,
New version of the Meta Box was released yesterday. Please try it ๐October 27, 2015 at 9:45 AM in reply to: Global content with metabox/sharing content between pages #1622Anh Tran
KeymasterIt's in beta phase. I'm testing it to make it compatible with Meta Box 4.6. I will inform you when it's done.
-
AuthorPosts