Forum Replies Created
-
AuthorPosts
-
January 11, 2020 at 9:42 AM in reply to: ✅Custom Fields Don't Display as Dynamic Data in Elementor #17812
Anh Tran
KeymasterHi Matt,
Do you mean “dynamic tags” just the text field with the dynamic data link right?
It's not only text field, but also image field, gallery field, etc. Wherever a dynamic data, the plugin works.
I now can’t even get the custom fields to save any data in the basic post page of WP
Can you record a video with that (maybe using https://www.loom.com)? I couldn't replicate it on my localhost.
Anh Tran
KeymasterHi Jackky, let me check it and will get back to you soon.
Anh Tran
KeymasterHi, we have the context parameter for meta boxes, which you can use to load meta boxes with priority. For meta boxes with the same context, you can try setting keys for meta boxes array, like this:
add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) { $meta_boxes['1_general'] = ...; $meta_boxes['2_social'] = ...; return $meta_boxes; } );January 10, 2020 at 4:58 PM in reply to: ✅Custom Fields Don't Display as Dynamic Data in Elementor #17800Anh Tran
KeymasterHi Matt,
I see you're using a widget called Dynamic Field in Elementor. It's not what's we support. We support dynamic tags in Elementor Pro which looks similar to this:
https://imgur.elightup.com/FMDqREH.png
For more details, please see the video on this page:
Anh Tran
KeymasterHi Dave,
I'd suggest creating a custom field type that extends the
taxonomyfield type. We have a documentation for that here. You can overwrite the default methods of the plugin and write your own.Anh Tran
KeymasterHi Kiran,
Are you using Gutenberg? The validation doesn't work for Gutenberg yet because Gutenberg doesn't have a way to check the values before submission via Ajax.
January 9, 2020 at 4:53 PM in reply to: ✅How to list custom fields on a page - including related fields #17785Anh Tran
KeymasterHi Robert,
am I to understand that the MB Custom fields are NOT searchable at all, unless we get FacetWP?
Yes and no.
For simple fields (non-clonable and non-groups), they're searchable using meta query of WP_Query.
For clonable fields and groups (and also fields in the custom table), the data is stored in the serialized format, which makes the meta query useless. FacetWP resolves this problem quite well.
Anh Tran
KeymasterI'm afraid it's not possible. All meta boxes and fields when registered will be added to a registry. That makes the helper functions to be able to find them to get the field settings and get field value. It's an integral part of the plugin and can't be disabled.
Anh Tran
KeymasterHi Jackky, it's not available yet as this is a new feature in Gutenberg. I'll add it to the next version of MB Blocks.
Anh Tran
KeymasterHi Kiran,
As your field has
$prefix, you need to set the ID$prefix . 'name'in your validation rules.Anh Tran
KeymasterHi Jackky,
The condition
is_admin()should never be used. It prevents the fields/settings available for retrieving the data on the front end.January 7, 2020 at 3:23 PM in reply to: ✅How to list custom fields on a page - including related fields #17754Anh Tran
KeymasterHi Robert,
How do you show your Custom fields in a table on a Page in frontend – Is there a MB plugin?
You probably need to use some code to output the custom fields. Please refer to the helper functions to do that. As you control the code, you can output it the way you want (in table or list, or plain HTML).
How would you go about showing all the Custom Fields – INCLUDING the related Custom Fields data?
If you use MB Relationships to create relationships between objects, you can get all the related items. And for each item, you can get custom fields using the helper functions as above.
Can you sort such a table on Field titles?
You might want to use a JS-solution such as DataTables.
How can you make a search for a Cat and show all Custom Fields and Related Custom Fields?
Please try FacetWP. We also have a free integrator with it.
January 7, 2020 at 3:13 PM in reply to: ✅Custom Fields Don't Display as Dynamic Data in Elementor #17753Anh Tran
KeymasterHi Matt,
Can you tell me how did you setup the custom fields? Are they for posts or taxonomy? Can you share some screenshots?
Anh Tran
KeymasterHi Robert,
But since I have several Field Groups and this only applies to one of them, how do I filter that?
You need to repeat the same hooks for other post fields. Note that: only for post fields (post title, post content, etc.), not all custom fields.
The Wysiwyg solution above does not solve Frontend registration. Nor does it populate into Custom table.
I'm not clear about this. It's about post content. What did you mean for frontend registration and custom table?
Anh Tran
KeymasterHi Matt,
Can you share a screenshot of the problem? I'm not quite clear about it.
-
AuthorPosts