Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Kirb,
To show the filter value on the page without reloading, you need to use the AJAX and some complicated code. If you are not familiar with coding, please create a request ticket here https://metabox.io/contact/ and give full requirements. Our developers will estimate the job and get back to you with a quote.
Long Nguyen
ModeratorHi Peter,
Please follow the step Debugging Information here to troubleshoot this issue.
Let me know how it goes.
Long Nguyen
ModeratorHi,
Please share your site credentials via this contact form https://metabox.io/contact/. I will help you to check the issue.
Long Nguyen
ModeratorJuly 1, 2021 at 3:05 PM in reply to: Need help to display single_image field on the frontend with shortcode #29232Long Nguyen
ModeratorHi Jan,
The option name should be in lower case and separate by underscore
_or hyphen-. For example$settings_pages[] = [ 'menu_title' => __( 'Location Specific Settings', 'location-specific-settings' ), 'option_name' => 'location_specific_settings', 'position' => 25, 'parent' => 'index.php', 'style' => 'no-boxes', 'columns' => 1, 'icon_url' => 'dashicons-admin-generic', ];then you can use the shortcode to show the single image
[rwmb_meta id="single_image_qn3i1fz9we" object_id="location_specific_settings" object_type="setting"]or PHP code
$image = rwmb_meta( 'single_image_qn3i1fz9we', ['object_type' => 'setting'], 'location_specific_settings' ); echo '<img src="' . $image['full_url'] . '">';Get more details on the documentation
https://docs.metabox.io/shortcode/#examples
https://docs.metabox.io/extensions/mb-settings-page/#getting-field-valueLong Nguyen
ModeratorHi,
Thank you for reaching out.
I do not see the
<p>tag (paragraph) on the product description, screenshot https://share.getcloudapp.com/4gun4q0zCan you please check the tab Text of the description when editing the product?
Long Nguyen
ModeratorHi DivSmart,
The Auto Listings plugin focuses on creating and displaying the car listings, not on the restaurant and F&B. You can create your shop to sell F&B by using WooCommerce. Refer to this plugin https://woocommerce.com/products/restaurant-for-woocommerce/
Long Nguyen
ModeratorHi Cees,
Can you please share the debug log and some screenshots of the error message?
Long Nguyen
ModeratorHi guys,
Please update the new version of Meta Box 5.4.3 to fix this issue.
Long Nguyen
ModeratorHi,
Thank you for your feedback.
It will be fixed in the next update. FYI, the problem might happen with the PHP version lower than 7.4. I'm using PHP 7.4.12 but do not see this error.
Long Nguyen
ModeratorHi Ahmed,
Thank you for your feedback.
Meta Box has not supported creating the custom widget yet. I will inform the development team to explore the possibility. If the custom widgets are created by code, it also available in the Builder.
Long Nguyen
ModeratorHi Cees,
There is no problem with the
ifstatement in your code. Nothing displays if the condition is not true, it's normal behavior. You can addelsestatement to display something if the condition wrong.if ( $post_id ) { echo "True"; } else { echo "False"; }Get more details here https://www.w3schools.com/php/php_if_else.asp
Long Nguyen
ModeratorHi Pascal,
Thank you for your feedback.
I've informed the development team to fix this issue. It will be included in the next update.
Long Nguyen
ModeratorHi Paul,
We can use the operator
!=to check if the logic field has any value. But this case only works with the code, not in the Builder to avoid broken conditional logic.'fields' => [ [ 'name' => __( 'Text1', 'your-text-domain' ), 'id' => $prefix . 'text1', 'type' => 'text', ], [ 'name' => __( 'Text2', 'your-text-domain' ), 'id' => $prefix . 'text2', 'type' => 'text', 'visible' => [ 'when' => [['text1', '!=', '']], 'relation' => 'or', ], ], ],Long Nguyen
ModeratorHi guys,
The attributes can be added in the View shortcode, please update the plugin and follow the documentation https://docs.metabox.io/extensions/mb-views/#custom-data
-
AuthorPosts