I would like to remove fields from the profile in Theme My Login. I want to remove everything except email and password field. I am able to hide fields using a little jQuery. But un fortunately I'm not good with it. Can someone help me how to make this? step by step?
Update:
I found this but i dont know how to use it:
"This may not be the ideal approach, but I was able to hide fields (and their associated labels and the parent p/div/tr element) using a little jQuery, if you're familiar with that. Just target the input to hide, climb up to its parent element, and hide it. This assumes that the element is nested 3 levels down from the element i actually need to hide.. a in my case. And i use a wp conditional to run this code only on the 'edit-profile' page."
<?php
// this code goes in header.php, in the <head> section.
if(is_page('edit-profile') ) { ?>
<script type="text/javascript">
jQuery(document).ready(function() {
// hide fields (the entire <tr>)
jQuery('#id-of-field').parent().parent().parent().hide();
});
</script>
<?php }
<?php // this code goes in header.php, in the <head> section. if(is_page('edit-profile') ) { ?> <script type="text/javascript"> jQuery(document).ready(function() { // hide fields (the entire <tr>) jQuery('#id-of-field').parent().parent().parent().hide(); }); </script> <?php }