Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Thank you for your feedback.
Currently, the custom model is not compatible with the relationship extension. I will inform the development team to consider implementing it in future updates.
November 1, 2021 at 10:38 PM in reply to: ✅Field Advanced and automatically "attach" uploaded file (e.g. pdf) #31687Long Nguyen
ModeratorHi,
The pdf files are automatically "attached" to the post after publishing/saving the post. If it does not work, can you please share some screenshots of the issue on your end?
Long Nguyen
ModeratorHi,
Then you can contact Social Warfare Pro support to ask for fixing this issue.
Long Nguyen
ModeratorHi,
To get the term meta, you have to pass the term object type and term ID to the helper function
if ( $post_tags ) { foreach($post_tags as $tag) { $background_color = rwmb_meta( 'post_tag_color', ['object_type' => 'term'], $tag->term_id ); echo "<span class=\"post-tags post-tags-id-$tag->term_id\" style=\"background-color:$background_color;\">$tag->name</span></style>"; } }Please get more details on the documentation https://docs.metabox.io/extensions/mb-term-meta/#getting-field-value
Long Nguyen
ModeratorHi,
You can pass the third parameter to the helper function
rwmb_meta()to get the color of a specific post$catColor = rwmb_meta('cat_color', '', 12345);Refer to this documentation https://docs.metabox.io/rwmb-meta/
If you want to get the post ID dynamically, please contact Oxygen support to ask for getting the post ID in the repeater module.
Long Nguyen
ModeratorHi,
The plugin Timber uses the Twig version 1.42.5 while MB Views uses the newer version 3.2.1 so I think it could be a conflict between the two versions.
You can try to deactivate the plugin Timber to re-check the issue.
Long Nguyen
ModeratorHi,
Ok, I've added a feature request to the backlog development. The dev team will consider implementing it in future updates.
Long Nguyen
ModeratorHi,
Can you please share the code that you use to create the custom field? I've tested that feature again and it works as well on my end. For example:
add_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' ); function your_prefix_function_name( $meta_boxes ) { $meta_boxes[] = [ 'title' => __( 'Post Meta', 'your-text-domain' ), 'id' => 'post-meta', 'fields' => [ [ 'name' => __( 'Wysiwyg', 'your-text-domain' ), 'id' => $prefix . 'wysiwyg', 'type' => 'wysiwyg', 'add_to_wpseo_analysis' => true, ], ], ]; return $meta_boxes; }Then add the code to the Yoast SEO settings
%%cf_wysiwyg%%
screenshot: https://share.getcloudapp.com/8Lu9nDYoLong Nguyen
ModeratorHi,
Recently, we've introduced the feature custom model that helps you to create the CPT and save data to the custom table. Please read more here https://docs.metabox.io/extensions/mb-custom-table/#custom-models
Long Nguyen
ModeratorHi,
I think the extension MB Frontend Submission will help you to achieve two goals:
Allow a user to enter a set of data (e.g. his height and weight). Then, every week he'll enter another set of data (updated height and weight).
A page will show all the entries he's entered.But it does not help to create the comparison and data graph.
October 30, 2021 at 10:11 PM in reply to: MB Blocks - Select type field - lowercase vs capital letter #31652Long Nguyen
ModeratorHi,
I got the issue. If you use the code
{{ type }}, it will output the label of the option. You can change it to{{ mb.mb_get_block_field( 'type') }}to output the value.Get more details here https://docs.metabox.io/extensions/mb-blocks/#render_callback
Long Nguyen
ModeratorHi,
You can follow this link to submit feature requests and vote for other features https://trello.com/b/OCOz26GM/meta-boxs-public-roadmap
October 29, 2021 at 10:31 PM in reply to: ✅Please add MB Views support / integration for Woocommerce #31643Long Nguyen
ModeratorHi,
Currently, it is not possible. I will inform the development team to consider supporting this integration. You can send your feedback and vote for features here https://trello.com/b/OCOz26GM/meta-boxs-public-roadmap
Long Nguyen
ModeratorHi,
Please try to contact Oxygen support to ask how to get the current post ID on their builder.
Long Nguyen
ModeratorHi,
The issue comes from the plugin Script Organizer itself, from the function
SCORG_rwmb_before()of its own. You can contact this plugin support to ask to fix this issue. -
AuthorPosts