Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,126 through 1,140 (of 3,839 total)
  • Author
    Posts
  • in reply to: Images not retrieved through dynamic data and code? #46858
    PeterPeter
    Moderator

    Hello Roel,

    Thanks for your feedback.

    I recheck this case when using the image field, saving the image in a custom folder and field value in a custom table, the helper function rwmb_meta() doesn't return the correct value.
    I suggest you use an SQL query to get the field value instead of using the helper function. For example:

    global $wpdb;
    $post_id = get_the_ID();
    $images = $wpdb->get_col( "SELECT image FROM my_custom_table WHERE ID = $post_id" );
    
    foreach ( $images as $key => $image ) {
    	$image = maybe_unserialize( $image );
    	$image = array_pop( $image );
    	
    	echo '<img src="' . $image . '" />';
    }

    image is the field ID, my_custom_table is the custom table name.

    in reply to: Hide field in backend edit screens #46856
    PeterPeter
    Moderator

    Hello Dave,

    You can use the code to register the meta box and custom fields, then use the WordPress function is_admin() to check if the current screen isn't in the admin area and register the fields. Here is an example https://support.metabox.io/topic/rwmb_frontend_validate-and-empty-id-in-config/#post-46359

    if ( ! is_admin() ) {	
    
    	$meta_boxes[] = [
    		'title'   => 'Filter Products',
    		'post_types' => 'product',
    		'id'      => 'filter-products',
    		'context' => 'normal',
    		'fields'  => ...............
    	];
    }

    Refer to the documentation https://docs.metabox.io/creating-fields-with-code/

    PeterPeter
    Moderator

    Hello Juergen,

    Please try to bypass the sanitization and add the HTML tag/entities to the field again. Following the documentation https://docs.metabox.io/sanitization/#bypass-the-sanitization

    Let me know how it goes.

    in reply to: Need Help with Custom Field Issue After Metabox Update #46846
    PeterPeter
    Moderator

    Hello Gagan,

    You can try to follow this tutorial to increase the PHP setting max_input_vars to fix the issue
    https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    Let me know how it goes.

    PeterPeter
    Moderator

    Hello,

    I test to create a cloneable group and a WYSIWYG field on my demo site, add the value like that in the admin area and output the value in the frontend but don't see that issue. Please check this screenshot https://imgur.com/nAYN6rP

    Please share some screenshots of the field value in the admin area and the code that you use to output the field value. Or do you use a page builder to output the field value?

    in reply to: Meta Box AIO Changelog is not up to date #46844
    PeterPeter
    Moderator

    Hello Tom and seaj1one,

    Thank you for the feedback. I've informed the development team to clear the cache of the changelog page automatically. It will be implemented soon.

    in reply to: error in WPCodebox2 but not in Bricksbuilder fontend. #46843
    PeterPeter
    Moderator

    Hello,

    Maybe the issue happens when you use the regex function but the function rwmb_get_value() returns an empty value. You should check the value isn't empty before executing the regex function.
    Besides that, it isn't an issue of Meta Box itself so if you still have an issue when using the regex function, please contact an expert developer to help you in this case.

    PeterPeter
    Moderator

    Hello Roel,

    Thank you for your feedback.

    After the custom table is created, you can manually disable the option "Create table automatically" to reduce database queries that arise from this option.

    I will inform the development team to consider supporting a feature to disable this option after the custom table is created.

    in reply to: Plural and Singular Post Title Fields Remain Empty #46830
    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    The development team is aware of the issue with Plural and Singular names of the CPT and working on it. It will be included in the next update of our plugins.

    in reply to: Cannot Load Custom FIelds #46829
    PeterPeter
    Moderator

    Hello,

    Please update Meta Box AIO to the new version 1.30.4 to fix the issue. Let me know how it goes.

    in reply to: Post Types No Longer Rendering After Update #46828
    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    The development team is aware of the issue with Plural and Singular names of the CPT and working on it. It will be included in the next update of our plugins.

    in reply to: Having issues after upgrading to MB AIO 1.30.4 #46827
    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    The development team is aware of this issue and working on it. It will be included in the next update of our plugins.

    in reply to: MB Builder 4.9.5 Export not working #46826
    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    The development team is aware of this issue and working on it. It will be included in the next update of our plugins.

    in reply to: Displaying Custom Taxonomy Field on Post #46825
    PeterPeter
    Moderator

    Hello,

    Is this the appropriate use of Custom Taxonomy Fields?

    You can use the field taxonomy of WordPress. It works the same as the Taxonomy meta box of WordPress to set the post terms.

    How do I display the data for it using MB Views if so?

    Please follow the documentation to use the View template to output the post data and custom fields
    https://docs.metabox.io/extensions/mb-views/

    How do I display the data for a particular Custom Taxonomy if multiple of that Taxonomy are assigned to a Post?

    If you want to display some specific terms in the frontend, you need to create some custom code to do so. If you are not able to complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/

    in reply to: Uncaught TypeError: MBR_Admin_Filter::get_selected_item(): #46823
    PeterPeter
    Moderator

    Hello,

    Please share your site credentials by submitting this contact form https://metabox.io/contact/
    I will take a look.

Viewing 15 posts - 1,126 through 1,140 (of 3,839 total)