Hi @toon-gerritsen
Sorry for the late response.
I’ve tried the steps in the link that you’ve provided above and it works on our end. https://drive.google.com/file/d/1iBFqE4i8MkTpEwpAHNfICJhWVEnmCi8J/view?usp=sharing
Could you please tell us what version of UM you’re using? Also, could you please confirm that Profile 1, Profile 2, and Profile 3 are all Profile Form? https://drive.google.com/file/d/1MyUQXrY9b79ZmCGqX3z2Jc3gHc2v1e1z/view?usp=sharing
Regards,
Hi @champsupertramp,
I am using UM Version: 2.1.16
I am using WP Version: 5.7
Profile 1, Profile 2, and Profile 3 are indeed all Profile Forms.
I do not even see the subtabs in the Profile Menu.
The subtabs do also not appear in the Settings -> Appearance -> Profile Menu.
Does the member need to be of type subscriber?
Much obliged,
Toon
@toon-gerritsen
I agree to your description this plugin code “Ultimate Member – Split profile form” does not deliver expected results in the “About” tab.
The first test in the code fails because function_exists( 'UM' ) is false so plugin is never executed. I made the test by deleting the code and then WordPress stopped in the if ( empty( UM()->classes['UM_Profile_Forms'] ) with a huge error trace.
I tried adding the plugin code to my child theme functions.php file and still no subtabs but now the code is executing and the function_exists( 'UM' ) is true.
After adding some more code in the plugin code I got my three profile forms editable but not as subtab links but normal links in a line above the profile texts.
@toon-gerritsen
Renaming the plugin directory from the zip file name “profile-forms-master”
to “um-profile-forms-master” and you must activate the plugin after the directory rename.
Now the plugin will load after Ultimate Member main plugin and the code executes with the links in one line above the profile text and still no subtabs.
Requires an extension to work with subtabs?
Hi @missveronicatv,
Following your advice did the trick!
I needed to make another correction : the shortcode of the 2nd and 3rd Profile must not be listed on the User page.
Now my subtabs appear correctly below the About tab.
Thanks a lot,
Toon
Hi @toon-gerritsen @missveronicatv
Thanks for letting us know how you resolve the issue. This will be helpful for others.
I am closing this thread now.
Regards,
It would be better if you fixed the zip file at github !!
Change the directory so those following the guidelines for installing from the downloaded zip file will get the directory right.
-
This reply was modified 5 years, 1 month ago by
missveronica.
Hi @champsupertramp, @missveronicatv,
I have one additional advice:
If there are no other tabs specified, the code executes with the links as lines above the profile text, without the Profile Menu bar (this bar only appears when at least one other tab is specified.
One may choose to activate the Messages tab and/or Comments tab in Settings -> Appearance -> Profile Menu, or add a custom tab as coded in https://docs.ultimatemember.com/article/64-extending-ultimate-member-profile-menu-using-hooks.
Kind regards,
Toon