Forum Replies Created
-
AuthorPosts
-
December 17, 2021 at 12:46 PM in reply to: ✅Oxygen builder, get value from settings field in code block does not work #32705
Long Nguyen
ModeratorHi,
You need to assign values to the variable
$vardagarand$oppettiderbefore, or pass them directly to the helper function.$vardagar = 'your_field_ID'; $oppettider = 'your_option_name'; $value = rwmb_meta( $vardagar, ['object_type' => 'setting'], $oppettider ); echo $value;or
$value = rwmb_meta( 'your_field_ID', ['object_type' => 'setting'], 'your_option_name'); echo $value;Long Nguyen
ModeratorHi Jack,
You can try to edit the JSON file and change the post type under the field
settings, then re-import to the builder."settings": { "object_type": "post", "post_types": [ "portfolio" //here ], "tab_style": "default", "tab_default_active": "", "custom_table": { "name": "" }, "class": "", "prefix": "", "text_domain": "your-text-domain", "function_name": "your_prefix_function_name" },Long Nguyen
ModeratorHi,
Where did you implement the CSS code? If it is added in the tab CSS of the View, I see it still works as well.
Or it is possible that your CSS code has been overridden by the theme or another plugin style.
Long Nguyen
ModeratorHi,
You can use this filter code to change the welcome message
add_filter( 'mbfs_welcome_message', function( $message, $user, $query ) { $message = '<h3>'. esc_html( sprintf( __( 'Hello, %s!', 'mb-frontend-submission' ), $user->display_name ) ).'</h3>'; $message .= '<p>'. esc_html( sprintf( __( 'You have %d %s.', 'mb-frontend-submission' ), $query->post_count, strtolower( $query->query['post_type'] ) ) ).'</p>'; return $message; }, 10, 3 );Regarding the redirect code above, you need to replace
my-idandfield_idwith your meta box ID, field ID to make it works.Long Nguyen
ModeratorHi,
In case of using Oxygen Builder, please reach to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://support.metabox.io/topic/support-policy/
Long Nguyen
ModeratorHi,
If you still keep the staging site, you can access your database and check the value of the group in the staging and live site. It is possible that the group value is lost after migrating.
Long Nguyen
ModeratorHi Paul,
You can use the attribute columns to remove the column title from the frontend dashboard. For example
[mb_frontend_dashboard edit_page="6" columns="date,status"]Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-posts-dashboard
If you are not familiar with coding, you can use a third-party plugin to limit posts per user.
https://wordpress.org/plugins/user-posts-limit/Long Nguyen
ModeratorHi,
What is the kind of review? A post or a description of the term?
If it is a post type, you can use the extension MB Relationships to set the connection between review and movie/game and show the connected reviews on the frontend.
https://docs.metabox.io/extensions/mb-relationships/Long Nguyen
ModeratorHi Will,
Currently, there is no action hook before/after the
deletefunction is executed. I will inform the development team to consider adding a hook to those functions.Long Nguyen
ModeratorHi,
Please update Meta Box to the new version 5.5.1 to resolve this issue.
Long Nguyen
ModeratorHi Roderick,
The product attribute works as a taxonomy/term but WooCommerce uses their function on the product information box to set the attribute and show its value on the frontend. In short, it is not possible to set the product attribute by using Meta Box.
December 16, 2021 at 6:38 AM in reply to: ✅How to migrate custom post data from Toolset to MetaBox? #32668Long Nguyen
ModeratorHi,
Thanks for reaching out.
We have a lot of feature requests on the Public Roadmap and it will take time to do. Our developers are working tirelessly and hope it will be available soon.
Long Nguyen
ModeratorHere you go https://www.loom.com/share/4e3e277783ee4ebfb401f5857bb554f1
No error shows up.
Long Nguyen
ModeratorHi,
Yes. The Meta Box helper function
rwmb_set_meta()or WordPress functionupdate_term_meta()helps you to update the value in the database. It does not relate to Meta Box or other plugins which create the custom field.Long Nguyen
ModeratorHi,
You can use a custom code to set the post status to private when creating/updating a post. For example
function force_type_private( $post ) { if ($post['post_type'] == 'my_post_type') $post['post_status'] = 'private'; return $post; } add_filter( 'wp_insert_post_data', 'force_type_private' ); -
AuthorPosts