We want some user fields that are specific to our own administration needs. We don’t want the user to see them in sign up. However it seems there is no such option right now.
AI-generated summary
The discussion is about hiding user fields during sign-up. hnaseri wants an option to hide specific fields for administrative purposes, but currently, this feature doesn’t exist. zogstrip suggested hiding fields with CSS, and Johani provided code examples to demonstrate this approach. To hide all custom fields, use the following CSS:
.invites-show {
.user-fields {
display: none;
}
}
For a specific field, target its class, which is the field’s name in lowercase with spaces replaced by dashes (e.g., .user-field-work-experience). Then, add the following code to the theme:
.invites-show {
.user-field-work-experience {
display: none;
}
}
Can’t you hide them with CSS?
I didn’t try. Does it hide a specific user field or all of them?
إذا كنت ترغب في إخفاء جميع الحقول المخصصة في تلك الصفحة، يمكنك إضافة هذا الكود CSS إلى سمة موقعك.
.invites-show {
.user-fields {
display: none;
}
}
إذا كنت ترغب في إخفاء حقل معين، يمكنك استهدافه باستخدام الفئة المحددة التي نضيفها إليه.
هي ببساطة اسم الحقل الذي قمت بتعيينه في لوحة الإدارة، مكتوبًا بحروف صغيرة. كما نستبدل المسافات بشرطات.
على سبيل المثال، يصبح “خبرة العمل” بهذا الشكل:
.user-field-work-experience
ويمكنك إضافة هذا إلى سمة موقعك لإخفاء ذلك الحقل المحدد.
.invites-show {
.user-field-work-experience {
display: none;
}
}