User profile page :
This page is created by insert the profile form shortcode. When creating the profile form, I included the username and email fields in it. But I can not see these two fields in the form preview, nor in the frontend page. How to fix it?
Account page :
This page is created using the account shortcode. Under the account tab, there are only limited fields displayed. I wish to add more fields to it to display in frontend page. How to do it?
Thanks for all help.
]]>If I go in: Settings > General > Account, there are no options to include other fields except for those one indicated above.
Thanks for helping!
Angelo
is there a way to customize the content of defaulf user account tabs such as Password, Privacy, Notifications and or create new one?
thanks,
Andrea
I have a problem with updating the account tab. I was able to change the password and billing address, but nothing on the account tab.
Can anyone know how to fix this?
Thank you!
]]>If you look at the picture you know exactly what I am trying to do.
Many Thanks in advance
]]>I’m trying to create a new tab in my account but I don’t get it.
That’s what I’m doing.
add_filter( ‘user_registration_account_menu_items’, ‘ur_custom_menu_items’, 10, 1 );
function ur_custom_menu_items( $items ) {
$items[‘prueba-item’] = __( ‘Pruebas’, ‘user-prueba ‘ );
return $items;
}
add_action (‘init’, ‘user_ prueba _my_account’);
function user_ prueba _my_account(){
add_rewrite_endpoint(‘ prueba -item’, EP_PAGES);
}
function user_ prueba _my_account_content(){
echo ‘hello world’;
}
add_action (‘user_prueba_my_account’, ‘user_prueba_my_account_content’);
Whats wrong??
Thanks!
]]>I have gone to WP Admin > Settings > Ultimate Member > General > Account…
and made sure that both the ‘Privacy Account tab’ and ‘Notifications Account tab’ were selected to display.
They previously did display, and I have a suspicion that this is caused because of a conflict with another plugin, though I do not know which one.
Please help with advising how this can be fixed.
Thanks
]]>(Sorry for my english, it’s not my native language, i’m french ^^)
]]>I’ve still got following problem:
I’d like to extend the account page with a custom tab. So I put this code in my functions.php (it’s 1:1 from UM page https://docs.ultimatemember.com/article/65-extend-ultimate-member-account-page-with-custom-tabs-content):
/* add new tab called "mytab" */
add_filter('um_account_page_default_tabs_hook', 'my_custom_tab_in_um', 100 );
function my_custom_tab_in_um( $tabs ) {
$tabs[800]['mytab']['icon'] = 'um-faicon-pencil';
$tabs[800]['mytab']['title'] = 'My Custom Tab';
$tabs[800]['mytab']['custom'] = true;
return $tabs;
}
/* make our new tab hookable */
add_action('um_account_tab__mytab', 'um_account_tab__mytab');
function um_account_tab__mytab( $info ) {
global $ultimatemember;
extract( $info );
$output = $ultimatemember->account->get_tab_output('mytab');
if ( $output ) { echo $output; }
}
/* Finally we add some content in the tab */
add_filter('um_account_content_hook_mytab', 'um_account_content_hook_mytab');
function um_account_content_hook_mytab( $output ){
ob_start();
?>
<div class="um-field">
<!-- Here goes your custom content -->
</div>
<?php
$output .= ob_get_contents();
ob_end_clean();
return $output;
}
Funny fact: In the content there appears a button with the name of the tab which I can’t edit or remove.
So please tell me how to remove it because it’s senseless to have a button there I can’t edit.
Thanks a lot in advance.
]]>