WordPress Business Themes › Forums › Version 7 Themes › DirectoryPress › Removing "My Profile Page"
I am looking at removing the “My Profile Feature” from the My Account section, as I don’t want directory listing customers to have personal profiles associated with the listings they purchase.
Is there an easy way to turn this off or remove it from the customer facing admin?
you may need to remove it from the code the file tpl-myaccount.php
i dont think there is an option in DP.
Thanks Mark, I tried modifying this myself and wasn’t able to cut out the profile code without generating errors.
I added the ability to turn this off in the UI to the feature request board. I think for business directories in general there would be an interest in being able to disable personal profiles
I wanted to share the exact code I removed in order to successfully hide/delete the “my profile” tab from the my account section
[code title=”remove my profile tab”]
<li id=”myprofiletab”>ID, get_the_author_meta( ‘user_nicename’, $userdata->ID) ); ?>'”><?php echo $PPT->_e(array(‘myaccount’,’32’)); ?> [/code]
Now that I have the profile tab removed from the my account section, the next issue I am trying to figure out is how to remove the profile listing information that still automatically displays in the left sidebar of directory listing pages (see attached screenshot)
Once I have this removed then the my profile feature should be completely removed from my directorypress install. Any advice is greatly appreciated.
try the admin -> display setup -> listing page -> listing information (on/off)
Well that was easy
Thanks Mark, that definitely did the trick!
Appreciate all your help
Submit your feature requests to our ideas board and it could be included in a future theme update.
or contact our support team