Place Xprofile Field Description Between After Field Name and Before Field
-
Adding a description to an xprofile field results in the description being displayed after the name of the field and the content of the field are displayed. The most logical position would be between the name of the feld and the actual field. This cannot be edited as some have suggested in the registration and edit profile pages.
The name and field content are displayed in the bp-xprofile/classes php files – there is one file for each class of field (e.g. class-bp-xprofile-field-type-checkbox.php). Placing: ‘<p class=”description”><?php bp_the_profile_field_description(); ?></p> ‘ between the echo of the field title and the field value is easy to do, but requires that I modify multiple each of the file types in the /classes directory. If there is another way to do this, or if this could be incorporated into a future release, would seem to make more sense. Thanks
- The topic ‘Place Xprofile Field Description Between After Field Name and Before Field’ is closed to new replies.