I have created a custom profile field in BuddyPress - single checkbox that is by default unchecked. I want to display this checkbox outside user profile settings page e.g. in the theme footer or header file. I also want to dynamically update user data on this checkbox click (via ajax, without page reload) and add a specific class to body if checkbox is checked. Can anyone help me with this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.