• Resolved phalancs

    (@phalancs)


    Found a slight inconsistency: All labels render as spans with class “forminator-label”. The label for checkboxes though is rendered as a h4.

    Maybe you could forward this to the devs for a fix in a next release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi?@phalancs

    Sorry for the inconvenience. This has been already reported to our development team and they are already evaluating it. There is not an ETA yet, since its release will be based on the current development roadmap.

    Meanwhile, our team has provided a workaround that could help in this case. Please add a must-use plugin to your site’s wp-content/mu-plugins folder like this?https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins, then add the following code to the plugin’s php file:

    add_filter( 'forminator_field_multiple_markup', 'wpmu_fix_h4_checkbox', 20, 2 );
    
    function wpmu_fix_h4_checkbox( $html, $id ) {
    
    	if ( strstr( $html, '<h4 id="forminator-checkbox-group' ) ) {
    
    		$html = str_replace( '<h4', '<span', $html );
    		$html = str_replace( '</h4>', '</span>', $html );
    
    	}
    
    	return $html;
    }

    We recommend to test this on the dev/staging version first before adding it to the live site.

    Thanks for the feedback!

    Kind Regards

    Luis

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @phalancs ,
    ?
    We haven’t heard from you for several days now, so it looks like you no longer need our assistance.
    ?
    Feel free to re-open this ticket if needed.
    ?
    Kind regards
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Label for Checkboxes renders as H4’ is closed to new replies.