Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 961 through 975 (of 3,787 total)
  • Author
    Posts
  • in reply to: Category Image Slider Not Displaying on website #47207
    PeterPeter
    Moderator

    Hello Jacques,

    You had a similar issue in the past, here is the topic https://support.metabox.io/topic/dont-know-where-the-settings-are-and-no-longer-working-upon-upgrading/

    I already replied to this issue in the ticket system:

    I'm not able to edit the theme file on your test site. But I suggest you check two files that get the slider option of the category and show the HTML elements.
    /wp-content/themes/thrill/partials/header/title.php
    /wp-content/themes/thrill/includes/title.php
    
    or contact your developer who creates this custom theme and ask them to check the issue for you.

    Can you please recheck the file that I suggested?

    in reply to: The custom field blank in admin dashboard #47199
    PeterPeter
    Moderator

    Hello Neha,

    Do you try to switch the theme to a WordPress theme also? If you still cannot edit a field group, please share your site admin account by submitting this contact form https://metabox.io/contact/
    I will take a look.

    in reply to: MB Custom Posts With No Custom Fields are Blank Pages In Edit #47195
    PeterPeter
    Moderator

    Hello Brent,

    The custom fields when editing a CPT are displayed properly on my site, screenshot https://imgur.com/AARZKaW

    Please try to clear all caches (plugin, browser, hosting ...) then deactivate all plugins except Meta Box, MB AIO, switch to a WordPress theme and check the issue again.

    PeterPeter
    Moderator

    Hello Antoine,

    Maybe the data is copied exactly to the post in the second language, but the data (post, term IDs) is in the first language so it won't display when you edit the post.
    It would need to have some custom code from the Polylang side to adjust the ID after you click the Plus icon to translate the post.

    in reply to: How t set capabilities for Taxonomies #47191
    PeterPeter
    Moderator

    Hello Alan and Tom,

    Thank you for your feedback. We already had a task in the backlog development to support an option to set the capability for the taxonomy. I will inform the development team to increase the priority of the task and include the feature in future updates.

    in reply to: Background image doesn't render in Gutenberg #47190
    PeterPeter
    Moderator

    Hello,

    Thanks for the details. I see that issue on the demo site. I'm escalating the issue to the development team to take a look and get back to you later.

    PeterPeter
    Moderator

    Hello Fabien,

    Can you please share some screenshots of the field group and the editing page so I can understand the issue? Please notice that the tab field must be added to the field group as the first field to make it work. See this screenshot https://imgur.com/uBLrNyr

    in reply to: ℹ️Relationships in Elementor? #47186
    PeterPeter
    Moderator

    Hello Clint,

    Currently, MB Elementor Integrator plugin doesn't support showing relationship data in the Elementor builder. You can try to use the relationship shortcode to see if it helps
    https://docs.metabox.io/extensions/mb-relationships/#shortcode

    I will inform the development team to consider supporting this feature in future updates.

    in reply to: Metabox Date/Time Field Not Saving #47185
    PeterPeter
    Moderator

    Hello John,

    Regarding the saved time of the datetime field, if you add your custom save field format (Y-m-d) for the date, you also need to add the custom format for the time. For example Y-m-d h:i:s
    Refer to the PHP documentation https://www.php.net/manual/en/function.date.php

    If it still doesn't work on your site, please share your site admin account by submitting this contact form https://metabox.io/contact/
    I will take a look.

    in reply to: Changing the value of an option on submission. #47184
    PeterPeter
    Moderator

    Hello,

    It requires login to view the frontend form on the page so I cannot check the field type on your site https://kambriaevans.com/intensive-directory-submissions/

    If it is a select field, you need to assign the field to its option value which is registered when you create the field, such as other, green, blue ... and not the option label.

    Please follow the documentation https://docs.metabox.io/fields/select/

    in reply to: OSM and Groups #47183
    PeterPeter
    Moderator

    Hi,

    Thank you for your feedback.

    It is similar to this issue https://support.metabox.io/topic/issues-with-geocoding-address-field-map-field-in-groups/
    the development is working to fix the issue with geolocation in a group field and you can try to apply the fix in the topic above to see if it works.

    in reply to: Background image doesn't render in Gutenberg #47182
    PeterPeter
    Moderator

    Hello metafa,

    I'm using this code to output the image URL subfield value in a group and it works properly on my demo site:

    $image = RWMB_Image_Field::file_info( $my_image, ['size' => 'full'] );
    $image_url = $image['url'];
    ?>
    <div style="background-image: url(<?php echo $image_url ?>)"></div>

    Can you please share the code that you use to register the block or export the field group to a JSON file and share it here? I will help you check the issue.

    Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    in reply to: Metabox Date/Time Field Not Saving #47167
    PeterPeter
    Moderator

    Hello,

    After importing the field group to the demo site, I can add the value for the datetime field and save it as well, screenshot https://imgur.com/ecnXCkA

    Please let me know if this happens:
    1. with other fields.
    2. without Bricks builder.
    then you can try to increase the PHP setting max_input_vars and see if it helps. Read more about the PHP setting in the documentation https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    PeterPeter
    Moderator

    Hello Emma,

    I test the frontend submission form of MB Frontend Submission on the demo site with the setting ajax="true" but don't see that issue. It could be an issue with the custom form of Bricks builder.

    You can follow the documentation https://docs.metabox.io/extensions/mb-frontend-submission/
    to use the MB frontend submission shortcode without using Bricks and check the issue again.

    in reply to: Upgrade to 5.10.4 breaks subgroups #47158
    PeterPeter
    Moderator

    Hello,

    I see there are two issues in the code that you create to output the field value:

    1. Missing the closing square bracket:

    - current:
    $image = RWMB_Image_Field::file_info( $image_id, [ 'size' => 'thumbnail' );

    - it should be:
    $image = RWMB_Image_Field::file_info( $image_id, [ 'size' => 'thumbnail' ] );

    2. Missing the field prefix when accessing the subgroup and subfields, for example:

    - current:

    // Field image:
    $image_ids = $subgroup[ 'image' ] ?? [];

    - it should be:

    // Field title:
    echo $subgroup[ 'ie-slider-title' ] ?? '';

    The correct code is:

    $groups = rwmb_meta( 'ie-slider-sliders' );
    foreach ( $groups as $group ) {
    	
    	// Field slider:
    	$subgroups = $group[ 'ie-slider-slider' ] ?? '';
    	foreach ( $subgroups as $subgroup ) {
    		
    		// Field title:
    		echo $subgroup[ 'ie-slider-title' ] ?? '';
    		
    		// Field image:
    		$image_ids = $subgroup[ 'ie-slider-image' ] ?? [];
    		?>
    		<h3>Uploaded images</h3>
    		<ul>
    			<?php foreach ( $image_ids as $image_id ) : ?>
    				<?php $image = RWMB_Image_Field::file_info( $image_id, [ 'size' => 'thumbnail' ] ); ?>
    				<li><img src="<?php echo $image['url']; ?>"></li>
    			<?php endforeach ?>
    		</ul>
    		<?php
    		
    		// Field caption:
    		echo $subgroup[ 'ie-slider-caption' ] ?? '';
    		
    		// Field description:
    		$values = $subgroup[ 'ie-slider-description' ] ?? '';
    		foreach ( $values as $value ) :
    			echo do_shortcode( wpautop( $value ) );
    		endforeach;	
    	}
    
    }
Viewing 15 posts - 961 through 975 (of 3,787 total)