Forum Replies Created
-
AuthorPosts
-
Anh Tran
Keymaster@Dorian: your point on serialized data is great. That might be the root cause of the problem.
If you have to fix the serialized data after migration, you can try WP CLI with the command
search-replace(see this docs) or this script. Both can replace the data without breaking the serialization. There are also some plugins on wordpress.org that can do the same job.Anh Tran
KeymasterHi Michael,
Can you please share your screenshot? I've just tried the code again and it works.
September 23, 2019 at 3:48 PM in reply to: ✅Metabox fields are not rendering in facetWP builder layout #16234Anh Tran
KeymasterHi Saradhi,
I'm very sorry for the delay. Let me try to help you now.
I see in the screenshot that the filters are displayed correctly for the posts (honda, subaru, etc.). Did you mean the price didn't show in the filter list? I see you have min/max for price, so that's fine. Please let me know more details on the problem.
Thanks
Anh Tran
KeymasterI'm sorry for the delay. I missed your question. I'll correct the docs. Thanks for your feedback!
September 20, 2019 at 3:25 PM in reply to: ✅Can we add wrapper div or class name to existing wrapper div for Settings markup #16210Anh Tran
KeymasterHi Aishwarya,
Yes, that's done. Please update to version 1.3.5. The new settings is
classfor the settings page.FYI: Meta Box 5.2.0 also adds
classsettings for custom CSS class. So you have more room to customize now.Anh Tran
KeymasterI think you might detect them via
class_exists()orfunction_exists(), oris_plugin_active()function.September 19, 2019 at 11:41 AM in reply to: ✅MB Relationships only displaying partial list of posts to connect #16196Anh Tran
KeymasterHi Brian,
Are you using the latest version of Meta Box? Can you try clearing browser cache? I've just tested with similar code and couldn't replicate the problem.
Anh Tran
KeymasterHi, I've just released a new version for Meta Box AIO, which has a complete redesign for the settings page. It now includes all links to the docs, forums. Please try it.
September 17, 2019 at 5:31 PM in reply to: ✅Private $user_id and $config causes bugs in rwmb_profile_before_save_user #16175Anh Tran
KeymasterYes, I'm finalizing some issues and will release new version for AIO in a few days.
Anh Tran
KeymasterHi SG, I've known the issue and fixed that. It will be available in the next version, which will be release in a few days.
Anh Tran
KeymasterHi Jon,
Since version 5.1, we add sanitization for all inputs. For textarea field, we use the
wp_kses_postfor sanitization and it sanitizes the HTML comments as you see.If you want to keep that, you probably need to bypass the sanitization by setting
'sanitize_callback' => 'none'for the field. Or write your custom sanitize callback. Please see the documentation for details.September 17, 2019 at 4:13 PM in reply to: ✅Private $user_id and $config causes bugs in rwmb_profile_before_save_user #16169Anh Tran
KeymasterHi Cedric, it's fixed in version 1.4.2. Please update.
Anh Tran
KeymasterJust fixed this in the 1.1.2 version. Please update.
Anh Tran
KeymasterHi,
Regarding
std, I see you put it underquery_argswhich is wrong and set it empty. Can you try this code (I modified your latest code)?Regarding the taxonomy issue: if you want to use taxonomy, then you have to create the taxonomy first. I don't see any reason for date, author or post type should be taxonomies. This is a post I wrote about custom fields vs. custom taxonomies. Maybe it helps.
-
AuthorPosts