wordpress buddypress自定义注册表

时间:2016-03-06 08:58:18

标签: php css wordpress bootstrap-modal buddypress

想用bootstrap修改表单的CSS。

... \可湿性粉剂内容\插件\ BuddyPress的\ BP-模板\ BP-遗留\ BuddyPress的\成员

添加了表单控件和表单组部分。刚离开Profile Profile Section。

守则的一部分

<div class="register-section form-group" id="profile-details-section">

                <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>

                <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
                <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

                <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>

                    <div class="form-group" <?php bp_field_css_class( 'editfield' ); ?>>

                        <?php
                        $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                        $field_type->edit_field_html();

                        /**
                         * Fires before the display of the visibility options for xprofile fields.
                         *
                         * @since 1.7.0
                         */

0 个答案:

没有答案
相关问题